This library exposes functions for rendering MiniLaTeX text into HTML.
Most users will need only (1) the functions exposed in the MiniLatex module
and (2) EditRecord, which is exposed in the Differ module.
See MiniLatex Live for a no-login demo of the MiniLatex technology. Source code
See this Hackernoon article for an explanation of the theory behind the MiniLatex package.
The function call
render "" NoDelay sourceTestproduces an HTML value corresponding to the given MiniLaTeX source text.
In this example, the first parameter is an id of an element
to be highlighted. It can be left empty. The second parameter, here
noDelay, defines the way that MathJax will go about typesetting
the content passed to it. Use NoDelay for
documents with not too many math elements and for
editing all documents, since only changed text is re-rendered.
Use Delay for loading document containing many
math elements.
Like render, but used the seed to define the ids for each paragraph:
render NoDelay seed macros sourceTestType of the syntax tree
Auxiliary data compiled during parsing
Used for initialization
Describes an entry in the table of contents
The table of contents
parse a string of LaTeX text and return its syntax tree