Documentation
Temml for .NET converts TeX math to MathML in C#. It is an unofficial community port of Temml by Ron Kok. It ports upstream 0.14.0.
Quickstart
Section titled “Quickstart”dotnet add package Temmlusing Temml;
var mathml = TemmlRenderer.RenderToString( @"x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}", new TemmlOptions { DisplayMode = true });
Console.WriteLine(mathml);That expression, as MathML in your browser:
Guides
Section titled “Guides”QuickstartInstall the package and render an expression.
OptionsEvery TemmlOptions property and its default.
ErrorsError markup and ParseError.
Macros and extensionsCustom macros, preambles, mhchem, physics, and texvc.
DOM and auto-renderRender into an AngleSharp document.
Styles and fontsThe stylesheets and the font a page needs.
SecurityRender TeX from users.
Migrating from upstreamJavaScript names and their C# equivalents.
ReleasesRelease notes for each tagged version.
API referenceGenerated from the libraries.
MIT · Copyright 2020 Ron Kok · unofficial community port of Temml