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)

11 lines 359 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isBrowser = void 0; /** * Returns true when running in a browser environment (not SSR / Node). */ var isBrowser = function () { return typeof window !== 'undefined' && typeof document !== 'undefined'; }; exports.isBrowser = isBrowser; //# sourceMappingURL=utils.js.map