git.iko.soy/typeable/pandoc
on master help sign in
Recognize more extensions as markdown by default.

`mkdn`, `mkd`, `mdwn`, `mdown`, `Rmd`. Closes #7034.

commit83336a45a78b288dcc0104d2432135bdb3f5e8f1 authorJohn MacFarlane <jgm@berkeley.edu> dateSat 16 Jan 2021, 11:15 (6 years ago) parente7ea899
1 file changed+5
src/Text/Pandoc/App/FormatHeuristics.hs+5
src/Text/Pandoc/App/FormatHeuristics.hs+5
@@ -48,6 +48,11 @@ formatFromFilePath x =
4848 ".lhs" -> Just "markdown+lhs"
4949 ".ltx" -> Just "latex"
5050 ".markdown" -> Just "markdown"
51+ ".mkdn" -> Just "markdown"
52+ ".mkd" -> Just "markdown"
53+ ".mdwn" -> Just "markdown"
54+ ".mdown" -> Just "markdown"
55+ ".Rmd" -> Just "markdown"
5156 ".md" -> Just "markdown"
5257 ".ms" -> Just "ms"
5358 ".muse" -> Just "muse"