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)

15 lines 423 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.initDocument = void 0; var domino = require("@mathpix/domino"); var initDocument = function () { try { document; } catch (e) { var domimpl = domino.createDOMImplementation(); global.document = domimpl.createHTMLDocument(); } }; exports.initDocument = initDocument; //# sourceMappingURL=index.js.map