pandoc-2.7.2: Conversion between markup formats

CopyrightCopyright (C) 2006-2019 John MacFarlane
LicenseGNU GPL, version 2 or above
MaintainerJohn MacFarlane <jgm@berkeley.edu>
Stabilityalpha
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Text.Pandoc.Writers.HTML

Description

Conversion of Pandoc documents to HTML.

Synopsis

Documentation

writeHtml4 :: PandocMonad m => WriterOptions -> Pandoc -> m Html Source #

Convert Pandoc document to Html 4 structure.

writeHtml4String :: PandocMonad m => WriterOptions -> Pandoc -> m Text Source #

Convert Pandoc document to Html 4 string.

writeHtml5 :: PandocMonad m => WriterOptions -> Pandoc -> m Html Source #

Convert Pandoc document to Html 5 structure.

writeHtml5String :: PandocMonad m => WriterOptions -> Pandoc -> m Text Source #

Convert Pandoc document to Html 5 string.

writeHtmlStringForEPUB :: PandocMonad m => EPUBVersion -> WriterOptions -> Pandoc -> m Text Source #

Convert Pandoc document to Html appropriate for an epub version.

writeS5 :: PandocMonad m => WriterOptions -> Pandoc -> m Text Source #

Convert Pandoc document to S5 HTML slide show.

writeSlidy :: PandocMonad m => WriterOptions -> Pandoc -> m Text Source #

Convert Pandoc document to Slidy HTML slide show.

writeSlideous :: PandocMonad m => WriterOptions -> Pandoc -> m Text Source #

Convert Pandoc document to Slideous HTML slide show.

writeDZSlides :: PandocMonad m => WriterOptions -> Pandoc -> m Text Source #

Convert Pandoc document to DZSlides HTML slide show.

writeRevealJs :: PandocMonad m => WriterOptions -> Pandoc -> m Text Source #

Convert Pandoc document to Reveal JS HTML slide show.

tagWithAttributes Source #

Arguments

:: WriterOptions 
-> Bool

True for HTML5

-> Bool

True if self-closing tag

-> Text

Tag text

-> Attr

Pandoc style tag attributes

-> Text 

Create HTML tag with attributes.