diff options
| author | Evan Silberman <[email protected]> | 2024-12-26 22:09:12 -0800 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2024-12-27 11:10:48 -0800 |
| commit | 07105ccbfff3e922d7abe3b85e1d7da740f0ecec (patch) | |
| tree | 9f018b7ca725606aaf808c4937c51989a786af40 /src | |
| parent | c4716d41c574fc514146e546790e6c69da7f7e71 (diff) | |
Make pod the default reader for .pod/.pl/.pm
Diffstat (limited to 'src')
| -rw-r--r-- | src/Text/Pandoc/Format.hs | 3 |
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" |
