-
Notifications
You must be signed in to change notification settings - Fork 184
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
support syntax highlighting for fenced code block #2011
Comments
I support this in theory, but will be a huge undertaking and I'm not sure it's worth the work required for this. |
ah, but this is a solved problem for a very long time: see for example highlight.js |
Okay, I played around a bit: |
i guess that to be on the safe side, the highlighter should not be run unless the language is explicitly specified – or it should be run with the plaintext format explicitly. |
Agreed. Edit: |
I'd really like this, what's the status on the draft PR? |
It should be working fine, but I don't like how much of a mess it became and would rather redo it. TL;DR: I'm not happy with it in it's current state and needs some updates. |
Pitch
allowing syntax highlighting for fenced code blocks would greatly improve the readability of the code, and if paired with ability to mark specific lines or blocks of lines, it would enhance comments on the code snippets significantly.
Motivation
glitch-soc already supports fenced code blocks – this would offer just a visual enhancement of the feature; the target audience is the same as the users of markdown and fenced code blocks.
The text was updated successfully, but these errors were encountered: