tiny gamemaking tool using the html details tag 💙 likely fragile, be nice to it
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
342 B

syntax clear
syn include @Markdown syntax/markdown.vim
syn match detailTitle "\~title.*$"
syn match detailPassage "\~detail.*$"
syn match detailLink "|[^|]*|"
syn match detailText "^[^~]" contains=@Markdown,detailLink
hi link detailTitle Title
hi link detailPassage Identifier
hi link detailLink Statement
let b:current_syntax = "detail"