tinymist/crates/tinymist
2024-03-11 13:22:55 +08:00
..
src feat: fix show pdf and add export pdf code lens 2024-03-11 13:22:55 +08:00
build.rs docs: documenting the tinymist crate 2024-03-09 18:20:49 +08:00
Cargo.toml fix: proper way to block tokio thread 2024-03-11 01:29:06 +08:00
README.md docs: add readme for query crate 2024-03-09 17:39:02 +08:00

tinymist

This crate provides an integrated service for Typst [taɪpst]. It provides:

Architecture

Tinymist binary has multiple modes, and it may runs multiple actors in background. The actors could run as an async task, in a single thread, or in an isolated process.

The main process of tinymist runs the program as a language server, through stdin and stdout. A main process will fork:

  • rendering actors to provide PDF export with watching.
  • compiler actors to provide language APIs.

Debugging with input mirroring

You can record the input during running the editors with Tinymist. You can then replay the input to debug the language server.

# Record the input
tinymist --mirror input.txt
# Replay the input
tinymist --replay input.txt