Make reference and source agree about literate markdown

This commit is contained in:
Mark Barbone 2020-06-19 03:07:54 -04:00 committed by G. Allais
parent 1e780615b6
commit 59dceb857f
2 changed files with 2 additions and 2 deletions

View File

@ -52,4 +52,4 @@ CommonMark
Only code blocks denoted by standard code blocks labelled as idris are recognised. Only code blocks denoted by standard code blocks labelled as idris are recognised.
We treat files with an extension of ``.md`` and ``.markdown`` as org-mode style literate files. We treat files with an extension of ``.md`` and ``.markdown`` as CommonMark style literate files.

View File

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