• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

michael-brade/LaTeX.js: JavaScript LaTeX to HTML5 translator

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

michael-brade/LaTeX.js

开源软件地址(OpenSource Url):

https://github.com/michael-brade/LaTeX.js

开源编程语言(OpenSource Language):

LiveScript 55.9%

开源软件介绍(OpenSource Introduction):

NPM version NPM downloads CircleCI codecov Maintainability License

LaTeX to HTML5 translator using a PEG.js parser

This is a LaTeX to HTML5 translator written in JavaScript using PEG.js. latex.js for LaTeX is similar in spirit to marked for Markdown.

LaTeX.js tries to be absolutely and uncompromisingly exact and compatible with LaTeX. The generated HTML is exactly what is meant to be output, down to the last space. The CSS makes it look like LaTeX output—except where impossible in principle, see limitations.

You can play with it here: http://latex.js.org/playground.html

Installation

For CLI usage install it globally:

npm install -g latex.js

For library usage add it to your project:

npm install --save-prod latex.js

Documentation

You can find the full documentation on the website: https://latex.js.org/

Alternatives

If you need a LaTeX to HTML translator that also understands TeX to some extent, take a look at:

Update: sadly, those last two are nowhere near the quality of LaTeX.js.

There is no such alternative in JavaScript yet, though, which is why I started this project. I want to use it in my derby-entities-lib project.

License

License

Copyright (c) 2015-2021 Michael Brade




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap