Skip to main content

Codeblocks with langugae highlighting support

Completed

Comments

6 comments

  • Fletcher Penney

    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
  • Edward Loveall

    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
  • Fletcher Penney

    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
  • Edward Loveall

    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
  • Fletcher Penney

    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
  • Edward Loveall

    Cool. Thanks for the response and the great app so far! 👍

    0

Please sign in to leave a comment.

Powered by Zendesk