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

Fix highlight broken by code fence nested in block quote #210

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rhysd
Copy link
Contributor

@rhysd rhysd commented Mar 8, 2024

Fix #207
Fix #190

This PR adds syntax highlighting for code fences nested in block quotes.

> ```
> some code
> ```

Currently the highlighting is broken since vim-markdown assumes that ``` code fences are at the start of lines.

This fixes the highlight as follows:

Before After
image image

I also added the small clean up at 20c58c1. If you don't want it, please let me know. I'll remove the commit.

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