Sintax highlight for code blocks in markdown #14799
Answered
by
leerob
duartecancela
asked this question in
Help
-
Hi, how can i have sintaxe highlight for code blocks in md posts? |
Beta Was this translation helpful? Give feedback.
Answered by
leerob
Sep 17, 2020
Replies: 2 comments
-
I have the same question, and I add the |
Beta Was this translation helpful? Give feedback.
0 replies
-
There are a few different ways:
Good example: https://github.com/tailwindlabs/blog.tailwindcss.com |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
leerob
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are a few different ways:
MdxProvider
to specify which React components you want to use to render the elementspre
orcode
(don't recommend)Good example: https://github.com/tailwindlabs/blog.tailwindcss.com