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

Inline formatting should be ignored in inline code fences #138

Open
alercah opened this issue Jan 15, 2019 · 0 comments
Open

Inline formatting should be ignored in inline code fences #138

alercah opened this issue Jan 15, 2019 · 0 comments

Comments

@alercah
Copy link

alercah commented Jan 15, 2019

vim-markdown does not properly recognize that inline code fences override other inline formats, see for example Example 334 from the GitHub spec which is Example 332 in CommonMark. If you put these into a Markdown file in vim, it incorrectly highlights an emphasis block over foo` . Likewise, underscores in inline code blocks are frequently highlighted in red.

This is frustrating enough to make me turn off code highlighting when working with documents that use a lot of inline code with symbols in them.

Escaping the symbols satisfies the highligher, but causes incorrect rendering as escapes are generally not recognized by Markdown parsers inside inline code either.

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

No branches or pull requests

1 participant