How to add color to Github's README.md file

后端 未结 10 953
一生所求
一生所求 2020-11-27 09:00

I have a README.md file for my project underscore-cli, a pretty sweet tool for hacking JSON and JS on the command-line.

I want to document the -

10条回答
  •  甜味超标
    2020-11-27 09:46

    As an alternative to rendering a raster image, you can embed a SVG file:

    
    

    You can then add color text to the SVG file as usual:

    
    
      
        Hello,
        world!
      
    
    

    Unfortunately, even though you can select and copy text when you open the .svg file, the text is not selectable when the SVG image is embedded.

    Demo: https://gist.github.com/CyberShadow/95621a949b07db295000

提交回复
热议问题