qmetrics.net

KaTeX

Browser math typesetting library based on TeX layout

KaTeX screenshot

KaTeX renders TeX and LaTeX math expressions into HTML for web pages. It runs in the browser or on Node.js for server-side HTML output without external dependencies.

Overview

KaTeX converts mathematical notation written in TeX syntax into formatted HTML for websites and applications. Its layout follows Donald Knuth’s TeX rules aimed at print-quality math in the browser.

The JavaScript API can render directly into a DOM element with katex.render or return an HTML string with katex.renderToString for server-side generation. Callers include bundled CSS and font files; client-side JS is optional when all math is pre-rendered on the server.

An auto-render extension can scan pages and typeset delimited expressions based on documented configuration options. Invalid input can surface as visible TeX with error styling when throwOnError is disabled.

The library supports a large subset of LaTeX commands and packages, with a published supported-function list. Major desktop browsers are supported, and pre-rendering workflows yield consistent output across environments.

Key features

  • TeX and LaTeX math rendering
  • Synchronous in-browser layout
  • Node.js HTML string output
  • Dependency-free client bundle
  • Auto-render page extension
  • Configurable error display
  • Self-hostable font and CSS assets
  • Broad browser compatibility

Use cases

  • Math notation on documentation sites
  • Server-pre-rendered formula HTML
  • Educational web articles with equations
  • Inline and display math in apps

Tags

Similar software

ManimCommunity Manim

Python framework for programmatic math animations

Manim Community Edition is a Python animation engine for explanatory math videos. You describe scenes in code and render them to video, with CLI flags for previews and quality levels.

★ 43k⟳ yesterdayMIT

OpenSpace

Interactive open-source universe visualization software

OpenSpace renders the known universe from observations and simulations for desktops, classrooms, planetariums, and tiled display walls.

★ 1.3k⟳ 2 days agoMIT
EducationDesktop/CLI app

FreeDomain

Free domain registration with DNS learning resources

DigitalPlat FreeDomain lets people register free domains under several extensions, point custom nameservers at a DNS provider, and follow guides from setup through deployment.

★ 209.4k⟳ 3 months agoAGPL-3.0

Excalidraw

Open-source collaborative whiteboard for hand-drawn style diagrams

Excalidraw is a virtual whiteboard for sketching diagrams and wireframes in a hand-drawn style. It offers an infinite canvas, real-time collaboration with end-to-end encryption, and is also published as an npm package for embedding.

★ 136.4k⟳ todayMIT
Open Source Alternative to:Miro

three.js

Cross-browser JavaScript library for 3D graphics

Three.js is a lightweight JavaScript 3D library for browsers. Default builds target WebGL and WebGPU, with optional SVG and CSS3D renderers as add-ons.

★ 119.5k⟳ todayMIT
Design & VisualizationDesktop/CLI app

Archify

Agent skill for interactive HTML diagrams and explainers

Archify is an open-source agent skill that turns descriptions, plans, or repositories into validated, self-contained interactive HTML maps and one-page explainers for Claude Code, Codex, Cursor, OpenCode, and Copilot.

★ 100.9k⟳ 2 days agoApache-2.0