UNPKG

react-native-mathjax-html-to-svg

Version:

React Native component to display mathematics in html using MathJax. Uses [MathJax](https://github.com/mathjax/)

14 lines (13 loc) 542 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.HtmlConfiguration = void 0; var Configuration_js_1 = require("../Configuration.js"); var SymbolMap_js_1 = require("../SymbolMap.js"); var HtmlMethods_js_1 = require("./HtmlMethods.js"); new SymbolMap_js_1.CommandMap('html_macros', { href: 'Href', 'class': 'Class', style: 'Style', cssId: 'Id' }, HtmlMethods_js_1.default); exports.HtmlConfiguration = Configuration_js_1.Configuration.create('html', { handler: { macro: ['html_macros'] } });