git.iko.soy/typeable/pandoc
on master help sign in
Add pdf to list of output formats (`--list-output-formats`).

Closes #5938.

commitb4f434ae0d93b66c61515a4903bfe2ba794cce9b authorJohn MacFarlane <jgm@berkeley.edu> dateTue 26 Nov 2019, 09:28 (7 years ago) parent421ae44
1 file changed+2−1
src/Text/Pandoc/App/CommandLineOptions.hs+2−1
src/Text/Pandoc/App/CommandLineOptions.hs+2−1
@@ -974,7 +974,8 @@ readersNames :: [String]
974974readersNames = sort (map (T.unpack . fst) (readers :: [(Text, Reader PandocIO)]))
975975
976976writersNames :: [String]
977−writersNames = sort (map (T.unpack . fst) (writers :: [(Text, Writer PandocIO)]))
977+writersNames = sort
978+ ("pdf" : map (T.unpack . fst) (writers :: [(Text, Writer PandocIO)]))
978979
979980splitField :: String -> (String, String)
980981splitField s =