scholdoc-0.1.3: Converts ScholarlyMarkdown documents to HTML5/LaTeX/Docx format

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 Source

Arguments

:: ReaderOptions

Reader options

-> String

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

-> Pandoc 

Convert HTML-formatted string to Pandoc document.

htmlTag :: Monad m => (Tag String -> Bool) -> ParserT [Char] st m (Tag String, String) Source

Matches a tag meeting a certain condition.

htmlInBalanced :: Monad m => (Tag String -> Bool) -> ParserT String st m String Source

Matches a stretch of HTML in balanced tags.