Skip to content

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.

@rhysd rhysd force-pushed the nested-fence-in-quote branch from 90292f4 to 20c58c1 Compare March 8, 2024 15:00
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

Successfully merging this pull request may close these issues.

Use of fenced code block within block-quote breaks following highlighting for rest of file highlight error when using > embedded code block

1 participant