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

后端 未结 10 913
一生所求
一生所求 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:26

    It's worth mentioning that you can add some colour in a README using a placeholder image service. For example if you wanted to provide a list of colours for reference:

    - ![#f03c15](https://via.placeholder.com/15/f03c15/000000?text=+) `#f03c15`
    - ![#c5f015](https://via.placeholder.com/15/c5f015/000000?text=+) `#c5f015`
    - ![#1589F0](https://via.placeholder.com/15/1589F0/000000?text=+) `#1589F0`
    

    Produces:

    • #f03c15 #f03c15
    • #c5f015 #c5f015
    • #1589F0 #1589F0

提交回复
热议问题