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.
 
 

16 lines
365 B

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