Add yaml frontmatter support to markdown

This commit is contained in:
2017-01-05 23:17:04 +00:00
parent f851feb40d
commit c0a2bb9bb2
2 changed files with 7 additions and 1 deletions

View File

@@ -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