Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add syntax highlight to code examples #1

Closed
ai opened this issue Apr 10, 2022 · 1 comment
Closed

Add syntax highlight to code examples #1

ai opened this issue Apr 10, 2022 · 1 comment

Comments

@ai
Copy link

ai commented Apr 10, 2022

You can add syntax highlight by adding js in the beginning of code block like here

markdown_code_syntax

See an example: https://raw.githubusercontent.com/ai/nanoid/main/README.md

@HackyDev
Copy link
Owner

@ai Hey! Thank you for the tip! Fixed the issue. Have a nice day, good sir!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants