Update readme.md

Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
This commit is contained in:
Titus 2022-05-15 19:03:48 +02:00 committed by GitHub
parent 1daf2f788a
commit 69b792614f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ Import the `github-markdown.css` file and add a `markdown-body` class to the con
</article> </article>
``` ```
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 generated here. 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. 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 generated here. 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.
If you want code syntax highlighted, use GitHub Flavored Markdown rendered from . If you want code syntax highlighted, use GitHub Flavored Markdown rendered from .