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.
Features
- Written in 100% JavaScript and runs in the browser
- No external dependencies need to be loaded
- It depends on a DOM implementation
- New macros can easily be added in JavaScript
- Easier to implement a piece of functionality in JavaScript and CSS
- Has a command line interface (CLI)
Categories
TeX/LaTeXLicense
MIT LicenseFollow LaTeX.js
Other Useful Business Software
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of LaTeX.js!