mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-17 08:11:45 +03:00
Add support for ~~~ code blocks in markdown
This commit is contained in:
parent
8544e80076
commit
14604dcf2d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user