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)

20 lines 565 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.setSizeCounter = exports.resetSizeCounter = exports.size = void 0; exports.size = { heightEx: 0, widthEx: 0 }; var resetSizeCounter = function () { exports.size = { heightEx: 0, widthEx: 0 }; }; exports.resetSizeCounter = resetSizeCounter; var setSizeCounter = function (widthEx, heightEx) { exports.size.widthEx += widthEx; exports.size.heightEx += heightEx; }; exports.setSizeCounter = setSizeCounter; //# sourceMappingURL=counters.js.map