texmath

Safe HaskellNone

Text.TeXMath.Pandoc

Description

Functions for writing a parsed formula as a list of Pandoc Inlines.

Synopsis

Documentation

toPandoc :: DisplayType -> [Exp] -> Maybe [Inline]

Converts a formula to a list of Pandoc inlines. Defaults to raw formula between $ characters if entire formula can't be converted.