← All repos

typst

A markup-based typesetting system that is powerful and easy to learn.

compilermarkuptypesettingtypst
Browse cluster: Font design, tooling, and parsing
4,851commits
471contributors
6languages

Tech stack & purpose

Typst is a markup-based typesetting system designed to be as powerful as LaTeX while remaining much easier to learn and use. It features built-in markup for common formatting tasks, flexible functions, an integrated scripting system, math typesetting, bibliography management, and fast compilation through incremental compilation. The project is written in Rust and consists of a compiler and CLI that can compile Typst documents locally, along with comprehensive documentation infrastructure and an extensive test suite supporting multiple output formats including PDF, SVG, HTML, and PNG. The Typst compiler uses a syntax system adapted from Rust Analyzer, with components including a lexer, parser, concrete and abstract syntax trees, syntax highlighting, and an incremental reparsing algorithm for efficient recompilation.

Community & reference links

Languages

Rust
84.5%
Typst
14.5%
JavaScript
0.4%
TypeScript
0.3%
CSS
0.2%
Dockerfile
0.0%

Contributors (top 30 of 471)