From b4f434ae0d93b66c61515a4903bfe2ba794cce9b Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 26 Nov 2019 09:28:05 -0800 Subject: Add pdf to list of output formats (`--list-output-formats`). Closes #5938. --- src/Text/Pandoc/App/CommandLineOptions.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Text/Pandoc/App') diff --git a/src/Text/Pandoc/App/CommandLineOptions.hs b/src/Text/Pandoc/App/CommandLineOptions.hs index 7d3b935ef..32fb04663 100644 --- a/src/Text/Pandoc/App/CommandLineOptions.hs +++ b/src/Text/Pandoc/App/CommandLineOptions.hs @@ -974,7 +974,8 @@ readersNames :: [String] readersNames = sort (map (T.unpack . fst) (readers :: [(Text, Reader PandocIO)])) writersNames :: [String] -writersNames = sort (map (T.unpack . fst) (writers :: [(Text, Writer PandocIO)])) +writersNames = sort + ("pdf" : map (T.unpack . fst) (writers :: [(Text, Writer PandocIO)])) splitField :: String -> (String, String) splitField s = -- cgit v1.2.3