8000 Add mention of `starry-night` to readme (#102) · labmain/github-markdown-css@9719250 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9719250

Browse files
authored
Add mention of starry-night to readme (sindresorhus#102)
1 parent afa5723 commit 9719250

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Import the `github-markdown.css` file and add a `markdown-body` class to the con
4444
</article>
4545
```
4646

47-
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).
47+
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.
4848

4949
There are 3 themes provided in this package:
5050

0 commit comments

Comments
 (0)
0