Switch ANSI rendering to termenv to automatically convert colors between color-profiles

This commit is contained in:
Christian Muehlhaeuser
2020-01-13 04:40:43 +01:00
parent 5d74978da0
commit 743ecf40c5
13 changed files with 53 additions and 172 deletions
+14 -14
View File
@@ -1,36 +1,36 @@
  Gold                                                                         
  Gold                                                                         
                                                                               
 Render markdown on the CLI, with pizzazz!                                     
 Render markdown on the CLI, with pizzazz!                                     
                                                                               
 ## What is it?                                                                
 ## What is it?                                                                
                                                                               
 Gold is a Golang library that allows you to use JSON based stylesheets to     
 render Markdown files in the terminal. Just like CSS, you can define color and
 style attributes on Markdown elements. The difference is that you use ANSI    
 color and terminal codes instead of CSS properties and hex colors.            
                                                                               
 ## Usage                                                                      
 ## Usage                                                                      
                                                                               
 See cmd/gold /cmd/gold/.                                                      
 See cmd/gold /cmd/gold/.                                                      
                                                                               
 ## Example Output                                                             
 ## Example Output                                                             
                                                                               
 Image: Gold Dark Style →                                                      
 https://github.com/charmbracelet/gold/raw/master/styles/gallery/dark.png      
 https://github.com/charmbracelet/gold/raw/master/styles/gallery/dark.png      
                                                                               
 Check out the Gold Style Gallery                                              
 https://github.com/charmbracelet/gold/blob/master/styles/gallery/README.md!   
 Check out the Gold Style Gallery                                              
 https://github.com/charmbracelet/gold/blob/master/styles/gallery/README.md!   
                                                                               
 ## Colors                                                                     
 ## Colors                                                                     
                                                                               
 Currently  gold  uses the Aurora ANSI colors                                  
 https://godoc.org/github.com/logrusorgru/aurora#Index.                        
 Currently  gold  uses the Aurora ANSI colors                                  
 https://godoc.org/github.com/logrusorgru/aurora#Index.                        
                                                                               
 ## Development                                                                
 ## Development                                                                
                                                                               
 Style definitions located in  styles/  can be embedded into the binary by     
 running statik https://github.com/rakyll/statik:                              
 running statik https://github.com/rakyll/statik:                              
                                                                               
   statik -f -src styles -include "*.json"