"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/Tests/Writers/Markdown.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.

Markdown.hs  (pandoc-2.11.1.1):Markdown.hs  (pandoc-2.11.2)
skipping to change at line 15 skipping to change at line 15
import Prelude import Prelude
import Data.Text (unpack) import Data.Text (unpack)
import Test.Tasty import Test.Tasty
import Tests.Helpers import Tests.Helpers
import Text.Pandoc import Text.Pandoc
import Text.Pandoc.Arbitrary () import Text.Pandoc.Arbitrary ()
import Text.Pandoc.Builder import Text.Pandoc.Builder
defopts :: WriterOptions defopts :: WriterOptions
defopts = def{ writerExtensions = pandocExtensions } defopts = def
{ writerExtensions = pandocExtensions
, writerSetextHeaders = True }
markdown :: (ToPandoc a) => a -> String markdown :: (ToPandoc a) => a -> String
markdown = unpack . purely (writeMarkdown defopts) . toPandoc markdown = unpack . purely (writeMarkdown defopts) . toPandoc
markdownWithOpts :: (ToPandoc a) => WriterOptions -> a -> String markdownWithOpts :: (ToPandoc a) => WriterOptions -> a -> String
markdownWithOpts opts x = unpack . purely (writeMarkdown opts) $ toPandoc x markdownWithOpts opts x = unpack . purely (writeMarkdown opts) $ toPandoc x
{- {-
"my test" =: X =?> Y "my test" =: X =?> Y
 End of changes. 1 change blocks. 
1 lines changed or deleted 3 lines changed or added

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