sublime-markdown-extended icon indicating copy to clipboard operation
sublime-markdown-extended copied to clipboard

Double brackets [[ inside code block break syntax highlighting

Open tehrengruber opened this issue 11 years ago • 2 comments

If i use double brackets [[ inside a code block like

git checkout [-q] [-f] [-m] [[-b|-B|-orphan] new_branch>] [<start_point>]

all of the following code will be yellow. If i put a space inbetween it works well but its a bit nervy sometimes

tehrengruber avatar Oct 23 '14 18:10 tehrengruber

good to know, thanks I'll look into it

jonschlinkert avatar Oct 23 '14 18:10 jonschlinkert

I did some testing and couldn't reproduce this issue. I did notice that when bash is used as the language after the first delimiter I get weird issues like this sometimes, but that's an issue with the bash highlighter, not this lib.

jonschlinkert avatar Feb 09 '15 07:02 jonschlinkert