pandoc-1.12.4.1: Conversion between markup formats

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

Text.Pandoc.Readers.HTML

Description

Conversion of HTML to Pandoc document.

Synopsis

Documentation

readHtml

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)

Matches a tag meeting a certain condition.

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

Matches a stretch of HTML in balanced tags.