mirror of
https://github.com/tpope/vim-markdown.git
synced 2025-11-10 10:53:49 -05:00
@@ -38,13 +38,13 @@ syn match markdownBlockquote ">\s" contained nextgroup=@markdownBlock
|
|||||||
syn region markdownCodeBlock start=" \|\t" end="$" contained
|
syn region markdownCodeBlock start=" \|\t" end="$" contained
|
||||||
|
|
||||||
" TODO: real nesting
|
" TODO: real nesting
|
||||||
syn match markdownListMarker " \{0,4\}[-*+]\%(\s\+\S\)\@=" contained
|
syn match markdownListMarker "\%(\t\| \{0,4\}\)[-*+]\%(\s\+\S\)\@=" contained
|
||||||
syn match markdownOrderedListMarker " \{0,4}\<\d\+\.\%(\s*\S\)\@=" contained
|
syn match markdownOrderedListMarker "\%(\t\| \{0,4}\)\<\d\+\.\%(\s*\S\)\@=" contained
|
||||||
|
|
||||||
syn match markdownRule "\* *\* *\*[ *]*$" contained
|
syn match markdownRule "\* *\* *\*[ *]*$" contained
|
||||||
syn match markdownRule "- *- *-[ -]*$" contained
|
syn match markdownRule "- *- *-[ -]*$" contained
|
||||||
|
|
||||||
syn match markdownLineBreak "\s\{2,\}$"
|
syn match markdownLineBreak " \{2,\}$"
|
||||||
|
|
||||||
syn region markdownIdDeclaration matchgroup=markdownLinkDelimiter start="^ \{0,3\}!\=\[" end="\]:" oneline keepend nextgroup=markdownUrl skipwhite
|
syn region markdownIdDeclaration matchgroup=markdownLinkDelimiter start="^ \{0,3\}!\=\[" end="\]:" oneline keepend nextgroup=markdownUrl skipwhite
|
||||||
syn match markdownUrl "\S\+" nextgroup=markdownUrlTitle skipwhite contained
|
syn match markdownUrl "\S\+" nextgroup=markdownUrlTitle skipwhite contained
|
||||||
|
|||||||
Reference in New Issue
Block a user