jxxcarlson/meenylatex/5.1.0

NOTE: the latest version is 15.2.0

MiniLatex.Render2

This module is for quickly preparing latex for export.

API

makeTableOfContents : LatexState -> List (Html msg)

Build a table of contents from the current LatexState; use only level 1 items

render : LatexState -> LatexExpression -> Html msg

The main rendering funcction. Compute an Html msg value from the current LatexState and a LatexExpresssion.

renderLatexList : LatexState -> List LatexExpression -> Html msg

Like render, but renders a list of LatexExpressions to Html mgs

renderString : LatexState -> String -> Html msg

Parse a string, then render it.