-
Something like gatsby-remark-prism syntax highlighting would be useful. Code would be highlighted based on information passed in the markdown code cell e.g. js{1,3-5} -> highlight line 1 and 3 to 5 It should function as a remark / rehype plugin possibly extending on rehype-prism |
Beta Was this translation helpful? Give feedback.
Answered by
timlrx
Jun 30, 2021
Replies: 2 comments 9 replies
-
I tried this one with Gatsby and it looks great. (GitHub repo). |
Beta Was this translation helpful? Give feedback.
9 replies
-
Implemented with rehype-prism-plus. Here's a preview link while it is pending merging. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
timlrx
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Implemented with rehype-prism-plus. Here's a preview link while it is pending merging.