UNPKG

mathpix-markdown-it

Version:

Mathpix-markdown-it is an open source implementation of the mathpix-markdown spec written in Typescript. It relies on the following open source libraries: MathJax v3 (to render math with SVGs), markdown-it (for standard Markdown parsing)

7 lines (6 loc) 276 B
/** * Translate the integer indicating the charge to the appropriate text. * @param {Number} charge The integer indicating the charge. * @returns {String} A string representing a charge. */ export declare function getChargeText(charge: any): "" | "-" | "+" | "2+" | "2-";