Text.Pandoc.Writers.HTML

pandoc-3.7.0.2: Conversion between markup formats

Copyright | Copyright (C) 2006-2024 John MacFarlane
License | GNU GPL, version 2 or above
Maintainer | John MacFarlane <jgm@berkeley.edu>
Stability | alpha
Portability | portable
Safe Haskell | None
Language | Haskell2010

Text.Pandoc.Writers.HTML

Description

Conversion of `Pandoc` documents to HTML.

Synopsis

- writeHtml4 :: PandocMonad m => WriterOptions -> Pandoc -> m Html
- writeHtml4String :: PandocMonad m => WriterOptions -> Pandoc -> m Text
- writeHtml5 :: PandocMonad m => WriterOptions -> Pandoc -> m Html
- writeHtml5String :: PandocMonad m => WriterOptions -> Pandoc -> m Text
- writeHtmlStringForEPUB :: PandocMonad m => EPUBVersion -> WriterOptions -> Pandoc -> m Text
- writeS5 :: PandocMonad m => WriterOptions -> Pandoc -> m Text
- writeSlidy :: PandocMonad m => WriterOptions -> Pandoc -> m Text
- writeSlideous :: PandocMonad m => WriterOptions -> Pandoc -> m Text
- writeDZSlides :: PandocMonad m => WriterOptions -> Pandoc -> m Text
- writeRevealJs :: PandocMonad m => WriterOptions -> Pandoc -> m Text
- tagWithAttributes :: WriterOptions -> Bool -> Bool -> Text -> Attr -> Text

# Documentation

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

Convert Pandoc document to Html 4 structure.

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

Convert Pandoc document to Html 4 string.

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

Convert Pandoc document to Html 5 structure.

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

Convert Pandoc document to Html 5 string.

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

Convert Pandoc document to Html appropriate for an epub version.

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

Convert Pandoc document to S5 HTML slide show.

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

Convert Pandoc document to Slidy HTML slide show.

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

Convert Pandoc document to Slideous HTML slide show.

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

Convert Pandoc document to DZSlides HTML slide show.

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

Convert Pandoc document to Reveal JS HTML slide show.

tagWithAttributes #

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.