在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):mika-cn/mathml2latex开源软件地址(OpenSource Url):https://github.com/mika-cn/mathml2latex开源编程语言(OpenSource Language):JavaScript 99.8%开源软件介绍(OpenSource Introduction):mathml2latexIt's a javascript library to convert mathML to latex BuildClone this repo and run
usageload libraryIn browser environment, you need to build the library first, then load it: <script src="dist/mathml2latex.js"></script> Using with npm npm install mathml2latex const MathMl2LaTeX = require('mathml2latex') convert mathml htmlconst mathmlHtml = '<math display="block"><mfrac><mi>a</mi><mi>b</mi></mfrac></math>';
const latex = MathML2LaTeX.convert(mathmlHtml); // => \frac{a}{b} |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论