pandoc-1.10.0.1: Conversion between markup formats

Portabilityportable
Stabilityalpha
MaintainerJohn MacFarlane <jgm@berkeley.edu>
Safe HaskellNone

Text.Pandoc.Readers.HTML

Description

Conversion of HTML to Pandoc document.

Synopsis

Documentation

readHtmlSource

Arguments

:: ReaderOptions

Reader options

-> String

String to parse (assumes '\n' line endings)

-> Pandoc 

Convert HTML-formatted string to Pandoc document.

htmlTag :: (Tag String -> Bool) -> Parser [Char] st (Tag String, String)Source

Matches a tag meeting a certain condition.

htmlInBalanced :: (Tag String -> Bool) -> Parser [Char] ParserState StringSource

Matches a stretch of HTML in balanced tags.