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

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

    Unfortunately, this is currently not possible.

    The GitHub Markdown documentation has no mention of 'color', 'css', 'html', or 'style'.

    While some Markdown processors (e.g. the one used in Ghost) allow for HTML, such as Word up, GitHub's discards any HTML.

    If it's imperative that you use color in your readme, your README.md could simply refer users to a README.html. The trade-off for this, of course, is accessibility.

提交回复
热议问题