0.1.3 • Published 3 years ago

katextual v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

KaTeXtual

...is a simple package with only one goal: render compatible TeX commands using KaTeX to image formats in a fast and customizable manner.

import {KaTeXtual} from 'katextual';

// singleton with async initialization
katextual = await KaTeXtual.getInstance();

// renders as buffer in PNG format
const png: Buffer = await katextual.renderPng('\\int_0^{2\\pi}{\\sin{\\theta}}');