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

  1. syntax clear
  2. syn include @Markdown syntax/markdown.vim
  3. syn match detailTitle "\~title.*$"
  4. syn match detailPassage "\~detail.*$"
  5. syn match detailLink "|[^|]*|"
  6. syn match detailText "^[^~]" contains=@Markdown,detailLink
  7. hi link detailTitle Title
  8. hi link detailPassage Identifier
  9. hi link detailLink Statement
  10. let b:current_syntax = "detail"