Closed reedes closed 9 years ago
Looks like I'll have to special-case markdownCode.
So only disable autoformat if markdownCode is exclusive to the line.
That'll ensure that autoformat is disabled on fenced code blocks but not on lines containing isolated inline code
.
New implementation does not special case markdownCode
but instead uses a whitelist for inline markup.
See g:pencil#autoformat_inline_whitelist
for list of whitelisted syntax highlights.
Using the tpope/vim-markdown syntax plugin with pencil.
In 'hard' mode.