Improve markdown syntax for fenced code blocks. Closes #764

This commit is contained in:
Rane Brown
2020-01-01 10:58:56 -07:00
parent 2c50f710b8
commit 5cdeb9a682
4 changed files with 33 additions and 4 deletions

View File

@ -80,8 +80,8 @@ let s:markdown_syntax.list_markers = ['-', '*', '+', '1.']
let s:markdown_syntax.rxListDefine = '::\%(\s\|$\)'
" Preformatted text
let s:markdown_syntax.rxPreStart = '```'
let s:markdown_syntax.rxPreEnd = '```'
let s:markdown_syntax.rxPreStart = '\%(`\{3,}\|\~\{3,}\)'
let s:markdown_syntax.rxPreEnd = '\%(`\{3,}\|\~\{3,}\)'
" Math block
let s:markdown_syntax.rxMathStart = '\$\$'