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)
10 lines • 483 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.includegraphicsTagB = exports.includegraphicsTag = exports.endTag = void 0;
var endTag = function (arg) {
return new RegExp('\\\\end\s{0,}\{(' + arg + ')\}');
};
exports.endTag = endTag;
exports.includegraphicsTag = /\\includegraphics\s{0,}\[?([^}]*)\]?\s{0,}\{([^}]*)\}/;
exports.includegraphicsTagB = /^\\includegraphics\s{0,}\[?([^}]*)\]?\s{0,}\{([^}]*)\}/;
//# sourceMappingURL=utils.js.map