react-native-mathjax-html-to-svg
Version:
React Native component to display mathematics in html using MathJax. Uses [MathJax](https://github.com/mathjax/)
12 lines • 476 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.RegisterHTMLHandler = void 0;
var mathjax_js_1 = require("../mathjax.js");
var HTMLHandler_js_1 = require("./html/HTMLHandler.js");
function RegisterHTMLHandler(adaptor) {
var handler = new HTMLHandler_js_1.HTMLHandler(adaptor);
mathjax_js_1.mathjax.handlers.register(handler);
return handler;
}
exports.RegisterHTMLHandler = RegisterHTMLHandler;
//# sourceMappingURL=html.js.map