aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEvan Silberman <[email protected]>2024-12-26 22:09:12 -0800
committerJohn MacFarlane <[email protected]>2024-12-27 11:10:48 -0800
commit07105ccbfff3e922d7abe3b85e1d7da740f0ecec (patch)
tree9f018b7ca725606aaf808c4937c51989a786af40 /src
parentc4716d41c574fc514146e546790e6c69da7f7e71 (diff)
Make pod the default reader for .pod/.pl/.pm
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Format.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Format.hs b/src/Text/Pandoc/Format.hs
index 8182002c4..3dfc0ce37 100644
--- a/src/Text/Pandoc/Format.hs
+++ b/src/Text/Pandoc/Format.hs
@@ -208,6 +208,9 @@ formatFromFilePath x =
".opml" -> defFlavor "opml"
".org" -> defFlavor "org"
".pdf" -> defFlavor "pdf" -- so we get an "unknown reader" error
+ ".pl" -> defFlavor "pod"
+ ".pm" -> defFlavor "pod"
+ ".pod" -> defFlavor "pod"
".pptx" -> defFlavor "pptx"
".ris" -> defFlavor "ris"
".roff" -> defFlavor "ms"