vim-markdown icon indicating copy to clipboard operation
vim-markdown copied to clipboard

Use ^\s*```$ for mkdCodeEnd

Open tomtomjhj opened this issue 4 years ago • 1 comments

Some languages use markdown style fenced code block for documenting examples. Current pattern for mkdCodeEnd breaks that.

Current: image

Fixed: image

tomtomjhj avatar Sep 29 '20 04:09 tomtomjhj

I'm a little confused why this example doesn't seem to be broken prior to this PR. The GitHub highlighting is off, but in VIM the whole thing is just a block quote. Are we not catching those at all?

It's a bug in mkdBlockquote. It doesn't recognize code blocks or even italics (#583).

lggruspe avatar Sep 19 '23 11:09 lggruspe