Lem
GitHubDiscord Reddit Matrix Toggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Typst

This mode adds support for Typst.

Typst aims to be a replacement for LaTeX.

This major-mode supports:

  • tree-sitter
  • LSP (via tinymist)
  • HTML preview (via tinymist)
  • PDF export (via typst compile)

It has the following commands:

  • typst-mode
  • typst-preview: launch the html preview using tinymist
  • typst-preview-stop: stop the preview
  • typst-preview-set-root: set the root of typst project for tinymist
  • typst-export-file: Export the typst file to pdf