pandoc-0.45: Conversion between markup formats

Portabilityportable
Stabilityalpha
MaintainerJohn MacFarlane <jgm@berkeley.edu>

Text.Pandoc.Readers.HTML

Description

Conversion of HTML to Pandoc document.

Synopsis

Documentation

readHtmlSource

Arguments

:: ParserState

Parser state

-> String

String to parse

-> Pandoc 

Convert HTML-formatted string to Pandoc document.

extractTagType :: String -> StringSource

Read blocks until end tag.

Read inlines until end tag.

Parse blocks between open and close tag.

Parse inlines between open and close tag.

Extract type from a tag: e.g. br from <br>