Add support for ~~~ code blocks in markdown

This commit is contained in:
stasoid 2020-08-10 04:18:22 +06:00 committed by G. Allais
parent 8544e80076
commit 14604dcf2d

View File

@ -24,7 +24,10 @@ styleOrg = MkLitStyle
export
styleCMark : LiterateStyle
styleCMark = MkLitStyle [("```idris", "```")] Nil [".md", ".markdown"]
styleCMark = MkLitStyle
[("```idris", "```"), ("~~~idris", "~~~")]
Nil
[".md", ".markdown"]
export
isLitFile : String -> Maybe LiterateStyle