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

后端 未结 10 915
一生所求
一生所求 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条回答
  •  -上瘾入骨i
    2020-11-27 09:35

    As of writing, Github Markdown renders color codes like `#ffffff` (note the backticks!) with a color preview. Just use a color code and surround it with backticks.

    For example:

    becomes

提交回复
热议问题