From 83336a45a78b288dcc0104d2432135bdb3f5e8f1 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 16 Jan 2021 11:15:35 -0800 Subject: Recognize more extensions as markdown by default. `mkdn`, `mkd`, `mdwn`, `mdown`, `Rmd`. Closes #7034. --- src/Text/Pandoc/App/FormatHeuristics.hs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Text/Pandoc/App/FormatHeuristics.hs') diff --git a/src/Text/Pandoc/App/FormatHeuristics.hs b/src/Text/Pandoc/App/FormatHeuristics.hs index 17ed30fe9..65a1a7b82 100644 --- a/src/Text/Pandoc/App/FormatHeuristics.hs +++ b/src/Text/Pandoc/App/FormatHeuristics.hs @@ -48,6 +48,11 @@ formatFromFilePath x = ".lhs" -> Just "markdown+lhs" ".ltx" -> Just "latex" ".markdown" -> Just "markdown" + ".mkdn" -> Just "markdown" + ".mkd" -> Just "markdown" + ".mdwn" -> Just "markdown" + ".mdown" -> Just "markdown" + ".Rmd" -> Just "markdown" ".md" -> Just "markdown" ".ms" -> Just "ms" ".muse" -> Just "muse" -- cgit v1.2.3