Skip to content
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

Double brackets [[ inside code block break syntax highlighting #68

Open
tehrengruber opened this issue Oct 23, 2014 · 2 comments
Open
Labels

Comments

@tehrengruber
Copy link

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 tehrengruber changed the title Double brackets [[ break syntax highlighting inside code block Double brackets [[ inside code block break syntax highlighting Oct 23, 2014
@jonschlinkert
Copy link
Owner

good to know, thanks I'll look into it

@jonschlinkert
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants