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
Syntax highlighting support? #864
Comments
Just plug https://prismjs.com and you're done. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Although the text processor seems to attach a
language-xxx
class to markdown code blocks, it seems there is no support for rendering code blocks with syntax highlighting. Would it be possible to introduce this feature and maybe make it somehow configurable, perhaps with a few example grammars included in the repository?I took a brief look at the code, an perhaps a callback function that can modify what is being output would suffice.
Edit: I realize the end code block function is
protected
, which will work for me for the time, but it would be pretty good to have this be built into the library by default.The text was updated successfully, but these errors were encountered: