Codeblocks with langugae highlighting support
CompletedHi all! This beta is great so far. Very full-featured and useful.
As a nice-to-have, I'm requesting that code blocks support programming language syntax highlighting, similar to how github's markdown support works. I realize this might be a difficult request as there might not already be a suitable library out there to do that, but I figured I'd request it all the same :)
-
You mean like the syntax highlighting that already exists?? ;)
Check Preview preferences and https://fletcher.github.io/MultiMarkdown-6/MMD_Users_Guide.html#fencedcodeblocks
Fletcher
0 -
Hmmm I think I have a bug report then? Here's what I get in both the editor and the preview:

Lemme know and I'll make a post over there.
0 -
Did you turn on syntax highlighting in the preview? (If you do that while preview is active, will need to reload the preview).
F-
0 -
Got it, that was it. I was scanning for "Syntax" or "Highlight" or something, not "Link to hightlight.js..."
I think then what I'm looking for is syntax highlighting in the editor part itself, not just the preview.
0 -
Ah...
Unfortunately, not likely to happen. Markdown/MultiMarkdown doesn't actually "care" what's inside a code block, so there isn't anything to apply syntax highlighting to. nvUltra isn't a programming IDE, so isn't designed to apply programming syntax functionality. There are certainly plenty of other tools better designed for that.
Maybe things will change and this could be something we consider in the future, but I don't want to lead you on and promise something that is out of scope for the application.
0 -
Cool. Thanks for the response and the great app so far! 👍
0
Please sign in to leave a comment.
Comments
6 comments