diff options
Diffstat (limited to 'pandoc.hs')
-rw-r--r-- | pandoc.hs | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -327,6 +327,14 @@ options = "FORMAT") "" -- "Print default template for FORMAT" + , Option "" ["print-sample-lua-writer"] + (NoArg + (\_ -> do + sample <- readDataFileUTF8 Nothing "sample.lua" + UTF8.hPutStr stdout sample + exitWith ExitSuccess)) + "" -- "Print sample lua custom writer" + , Option "" ["no-wrap"] (NoArg (\opt -> return opt { optWrapText = False })) |