Menu

#396 Markdown highlight with `[`

Unknown
open
nobody
None
v4.6
5
2026-03-12
2018-11-27
No

Please see the attached test file.

Inside backticks everything is displayed literally in Markdown. Still, an opening bracket present there screws up the rest of the highlighting, in particular, the subsequent list items are not colored in blue in the test file.

Backslash-escaping the bracket fixes joe's highlighting, but breaks the file since it'll show up as a backspace in the rendered version.

1 Attachments

Discussion

  • Egmont Koblinger

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -2,4 +2,4 @@
    
     Inside backticks everything is displayed literally in Markdown. Still, an opening bracket present there screws up the rest of the highlighting, in particular, the subsequent list items are not colored in blue in the test file.
    
    -Backslash-escaping the bracket fixes joe's highlighting, but breaks the file since it'll show up as a bracket in the rendered version.
    +Backslash-escaping the bracket fixes joe's highlighting, but breaks the file since it'll show up as a backspace in the rendered version.
    
     
  • John J. Jordan

    John J. Jordan - 2018-12-03

    You might open this up at the author's repository.

     
  • Joe Allen

    Joe Allen - 2026-03-12

    I've included this fix in JOE github repo. But should I be taking anything else from https://github.com/cmur2/joe-syntax ?

     

Log in to post a comment.

MongoDB Logo MongoDB