@@ -225,6 +225,7 @@ syn match pandocTitleBlockTitle /\%^%.*\n/ contained containedin=pandocTitleBloc
225
225
" Blockquotes: {{{2
226
226
"
227
227
syn match pandocBlockQuote / ^\s\{ ,3}>.*\n\( .*\n\@ 1<!\n\) */ contains =@Spell,pandocEmphasis,pandocStrong,pandocPCite,pandocSuperscript,pandocSubscript,pandocStrikeout,pandocUListItem,pandocNoFormatted skipnl
228
+ syn match pandocBlockQuoteMark / \_ ^\s\{ ,3}>/ contained containedin =pandocEmphasis,pandocStrong,pandocPCite,pandocSuperscript,pandocSubscript,pandocStrikeout,pandocUListItem,pandocNoFormatted
228
229
229
230
" }}}
230
231
" Code Blocks: {{{2
@@ -406,12 +407,6 @@ syn match pandocFootnoteID /\[\^.\{-}\]/ contained containedin=pandocFootnoteBlo
406
407
call s: WithConceal (" footnote" , ' syn match pandocFootnoteIDHead /\[\^/ contained containedin=pandocFootnoteID' , ' conceal cchar=' .s: cchars [" footnote" ])
407
408
call s: WithConceal (" footnote" , ' syn match pandocFootnoteIDTail /\]/ contained containedin=pandocFootnoteID' , ' conceal' )
408
409
" }}}
409
- " Definitions: {{{2
410
- "
411
- syn region pandocDefinitionBlock start =/ ^\% (\_ ^\s *\( [`~]\)\1\{ 2,}\)\@ !.*\n\( ^\s *\n\) *\s\{ 0,2}[:~]\(\~\{ 2,}\~ *\)\@ !/ skip =/ \n\n\z s\s / end =/ \n\n / contains =pandocDefinitionBlockMark,pandocDefinitionBlockTerm,pandocCodeBlockInsideIndent,pandocEmphasis,pandocStrong,pandocStrongEmphasis,pandocNoFormatted,pandocStrikeout,pandocSubscript,pandocSuperscript,pandocFootnoteID,pandocReferenceURL,pandocReferenceLabel,pandocLaTeXMathBlock,pandocLaTeXInlineMath,pandocAutomaticLink,pandocEmDash,pandocEnDash keepend
412
- syn match pandocDefinitionBlockTerm / ^.*\n\( ^\s *\n\) *\(\s *[:~]\)\@ =/ contained contains =pandocNoFormatted,pandocEmphasis,pandocStrong
413
- call s: WithConceal (" definition" , ' syn match pandocDefinitionBlockMark /^\s*[:~]/ contained' , ' conceal cchar=' .s: cchars [" definition" ])
414
- " }}}
415
410
" List Items: {{{2
416
411
"
417
412
" Unordered lists
@@ -427,6 +422,12 @@ syn match pandocListItemBulletId /\(\d\+\|\l\|\#\|@.\{-}\|x\=l\=\(i\{,3}[vx]\=\)
427
422
428
423
syn match pandocListItemContinuation / ^\s\+\(\( [-+*]\| (\? .\+ [).]\)\@ <![[:alpha:]ñäëïöüáéíóúàèìòùłßÄËÏÖÜÁÉÍÓÚÀÈÌÒÙŁß_"[]\)\@ =.*$/ nextgroup=pandocLaTeXMathBlock,pandocLaTeXInlineMath,pandocDelimitedCodeBlock,pandocListItemContinuation,pandocListItem contains=@Spell,pandocEmphasis,pandocStrong,pandocNoFormatted,pandocStrikeout,pandocSubscript,pandocSuperscript,pandocStrongEmphasis,pandocStrongEmphasis,pandocPCite,pandocICite,pandocCiteKey,pandocReferenceLabel,pandocReferenceURL,pandocLaTeXMathBlock,pandocLaTeXInlineMath,pandocAutomaticLink contained skipempty display
429
424
" }}}
425
+ " Definitions: {{{2
426
+ "
427
+ syn region pndocDefinitionBlock start =/ ^\% (\_ ^\s *\( [`~]\)\1\{ 2,}\)\@ !.*\n\( ^\s *\n\)\=\s\{ 0,2}[:~]\(\~\{ 2,}\~ *\)\@ !/ skip =/ \n\n\z s\s / end =/ \n\n / contains =pandocDefinitionBlockMark,pandocDefinitionBlockTerm,pandocCodeBlockInsideIndent,pandocEmphasis,pandocStrong,pandocStrongEmphasis,pandocNoFormatted,pandocStrikeout,pandocSubscript,pandocSuperscript,pandocFootnoteID,pandocReferenceURL,pandocReferenceLabel,pandocLaTeXMathBlock,pandocLaTeXInlineMath,pandocAutomaticLink,pandocEmDash,pandocEnDash
428
+ syn match pandocDefinitionBlockTerm / ^.*\n\( ^\s *\n\)\=\(\s *[:~]\)\@ =/ contained contains =pandocNoFormatted,pandocEmphasis,pandocStrong nextgroup =pandocDefinitionBlockMark
429
+ call s: WithConceal (" definition" , ' syn match pandocDefinitionBlockMark /^\s*[:~]/ contained' , ' conceal cchar=' .s: cchars [" definition" ])
430
+ " }}}
430
431
" Special: {{{2
431
432
432
433
" New_lines: {{{3
@@ -480,6 +481,7 @@ hi link pandocHTMLComment Comment
480
481
hi link pandocHTMLCommentStart Delimiter
481
482
hi link pandocHTMLCommentEnd Delimiter
482
483
hi link pandocBlockQuote Comment
484
+ hi link pandocBlockQuoteMark Comment
483
485
484
486
" if the user sets g:pandoc#syntax#codeblocks#ignore to contain
485
487
" a codeblock type, don't highlight it so that it remains Normal
0 commit comments