Markdown: Highlight TOML code blocks

This commit is contained in:
Alex Leferry 2 2019-02-18 07:42:49 +01:00
parent e169a1893b
commit 35ace812df

View File

@ -20,7 +20,7 @@ evaluate-commands %sh{
c cabal clojure coffee cpp css cucumber d diff dockerfile fish gas go
haml haskell html ini java javascript json julia kak kickstart latex
lisp lua makefile markdown moon objc perl pug python ragel ruby rust
sass scala scss sh swift tupfile typescript yaml sql
sass scala scss sh swift toml tupfile typescript yaml sql
"
for lang in ${languages}; do
printf 'add-highlighter shared/markdown/%s region -match-capture ^(\h*)```\h*%s\\b ^(\h*)``` regions\n' "${lang}" "${lang}"