mirror of
https://github.com/sindresorhus/github-markdown-css.git
synced 2024-03-22 13:10:53 +08:00
Add mention of starry-night
to readme (#102)
This commit is contained in:
parent
afa572390d
commit
9719250aca
|
@ -44,7 +44,7 @@ Import the `github-markdown.css` file and add a `markdown-body` class to the con
|
||||||
</article>
|
</article>
|
||||||
```
|
```
|
||||||
|
|
||||||
If you want code syntax highlighted, use GitHub Flavored Markdown rendered from [GitHub's `/markdown` API](https://docs.github.com/en/free-pro-team@latest/rest/reference/markdown).
|
You can use [GitHub's `/markdown` API](https://docs.github.com/en/free-pro-team@latest/rest/reference/markdown) to turn Markdown into the HTML that GitHub generates, which works well with the CSS in this repo. Other Markdown parsers will mostly work with these styles too. To mimic how GitHub highlights code, you can use [`starry-night`](https://github.com/wooorm/starry-night) with your Markdown parser of choice.
|
||||||
|
|
||||||
There are 3 themes provided in this package:
|
There are 3 themes provided in this package:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user