Add yaml frontmatter support to markdown
This commit is contained in:
@@ -48,3 +48,8 @@ syn match markdownTodo 'TODO'
|
||||
|
||||
hi link markdownTodo Todo
|
||||
syn cluster markdownInline add=markdownTodo
|
||||
|
||||
" yaml frontmatter
|
||||
syn region markdownFrontmatter matchgroup=markdownFrontmatterDelimiter start='\%^---' keepend end='^---' contains=@markdownHighlightyaml
|
||||
hi default link markdownFrontmatterDelimiter Special
|
||||
|
||||
|
||||
Reference in New Issue
Block a user