0.2.0 • Published 6 years ago

mathquill-markup-generator v0.2.0

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

MathQuill Markup Generator

Tiny library to parse a LaTeX string with MathQuill and generate the associated HTML markup on the server side.

Installation

Requires at least Node 8 LTS and NPM 5.

npm install --save mathquill-markup-generator

Usage

const { tex2html } = require('mathquill-markup-generator');

(async () => {
    const latex = '\\frac{1}{2}x^3';
    const html = await tex2html(latex);
})();