"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Text/Pandoc/App/Opt.hs" between
pandoc-2.11.1.1.tar.gz and pandoc-2.11.2.tar.gz

About: Pandoc converts files from one markup format into another.

Opt.hs  (pandoc-2.11.1.1):Opt.hs  (pandoc-2.11.2)
skipping to change at line 333 skipping to change at line 333
"pdf-engine-opt" -> "pdf-engine-opt" ->
(parseYAML v >>= \x -> (parseYAML v >>= \x ->
return (\o -> o{ optPdfEngineOpts = map unpack x })) return (\o -> o{ optPdfEngineOpts = map unpack x }))
<|> <|>
(parseYAML v >>= \x -> (parseYAML v >>= \x ->
return (\o -> o{ optPdfEngineOpts = [unpack x] })) return (\o -> o{ optPdfEngineOpts = [unpack x] }))
"slide-level" -> "slide-level" ->
parseYAML v >>= \x -> return (\o -> o{ optSlideLevel = x }) parseYAML v >>= \x -> return (\o -> o{ optSlideLevel = x })
"atx-headers" -> "atx-headers" ->
parseYAML v >>= \x -> return (\o -> o{ optSetextHeaders = not x }) parseYAML v >>= \x -> return (\o -> o{ optSetextHeaders = not x })
"markdown-headings" ->
parseYAML v >>= \x -> return (\o ->
case T.toLower x of
"atx" -> o{ optSetextHeaders = False }
"setext" -> o{ optSetextHeaders = True }
_ -> o)
"ascii" -> "ascii" ->
parseYAML v >>= \x -> return (\o -> o{ optAscii = x }) parseYAML v >>= \x -> return (\o -> o{ optAscii = x })
"default-image-extension" -> "default-image-extension" ->
parseYAML v >>= \x -> parseYAML v >>= \x ->
return (\o -> o{ optDefaultImageExtension = x }) return (\o -> o{ optDefaultImageExtension = x })
"extract-media" -> "extract-media" ->
parseYAML v >>= \x -> parseYAML v >>= \x ->
return (\o -> o{ optExtractMedia = unpack <$> x }) return (\o -> o{ optExtractMedia = unpack <$> x })
"track-changes" -> "track-changes" ->
parseYAML v >>= \x -> return (\o -> o{ optTrackChanges = x }) parseYAML v >>= \x -> return (\o -> o{ optTrackChanges = x })
skipping to change at line 472 skipping to change at line 478
, optEmailObfuscation = NoObfuscation , optEmailObfuscation = NoObfuscation
, optIdentifierPrefix = "" , optIdentifierPrefix = ""
, optStripEmptyParagraphs = False , optStripEmptyParagraphs = False
, optIndentedCodeClasses = [] , optIndentedCodeClasses = []
, optDataDir = Nothing , optDataDir = Nothing
, optCiteMethod = Citeproc , optCiteMethod = Citeproc
, optListings = False , optListings = False
, optPdfEngine = Nothing , optPdfEngine = Nothing
, optPdfEngineOpts = [] , optPdfEngineOpts = []
, optSlideLevel = Nothing , optSlideLevel = Nothing
, optSetextHeaders = True , optSetextHeaders = False
, optAscii = False , optAscii = False
, optDefaultImageExtension = "" , optDefaultImageExtension = ""
, optExtractMedia = Nothing , optExtractMedia = Nothing
, optTrackChanges = AcceptChanges , optTrackChanges = AcceptChanges
, optFileScope = False , optFileScope = False
, optTitlePrefix = Nothing , optTitlePrefix = Nothing
, optCss = [] , optCss = []
, optIpynbOutput = IpynbOutputBest , optIpynbOutput = IpynbOutputBest
, optIncludeBeforeBody = [] , optIncludeBeforeBody = []
, optIncludeAfterBody = [] , optIncludeAfterBody = []
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)