Expand description
World implementation of typst for tinymist.
Re-exports§
pub use system::SystemCompilerFeat;
pub use system::TypstSystemUniverse;
pub use system::TypstSystemWorld;
pub use system::print_diagnostics;
pub use tinymist_vfs as vfs;
pub use entry::*;
pub use world::*;
Modules§
- args
- Shared arguments to create a world.
- build_
info - The build information of the world crate.
- config
- The configuration of the world.
- debug_
loc - The debug location that can be used to locate a position in a document or a file.
- diag
- The diagnostic utilities.
- entry
- The entry state of the world.
- font
- The font implementations for typst worlds.
- package
- The package registry of the world.
- parser
- The legacy parser of the world.
- source
- The source database of the world.
- system
- Run the compiler in the system environment.
- world
- The world of the compiler.
Structs§
- Browser
Compiler Feat - The feature of the browser world.
- Compilation
Task - A task that compiles a document.
- Compile
Signal - A signal that possibly triggers a compile (export).
- Compile
Snapshot - A snapshot of the project and compilation state.
- Config
Task - A task that computes a configuration.
- Diagnostics
Task - A task that computes the diagnostics of a document.
- Option
Document Task - A task that computes an optional document.
- Project
InsId - Project instance id. This is slightly different from the project ids that persist in disk.
- Task
Flag Base - A base task flag.
- World
Compute Graph - A world compute graph.
Enums§
- Diagnostic
Format - The format to use for diagnostics.
Traits§
- Compiler
Feat - The type trait interface of
CompilerWorld
. - Export
Computation - A trait to compute the export of a document.
- Export
Detection - A trait to detect the export of a document.
- Shadow
Api - Latest version of the shadow api, which is in beta.
- Shadow
ApiExt - The extension trait for the shadow api.
- World
Computable - A world computable trait.
- World
Deps - Latest version of the world dependencies api, which is in beta.
Type Aliases§
- Export
Signal Deprecated - The export signal for the document.
- Flag
Task - A task that computes a flag.
- Html
Compilation Task - A task that compiles an HTML document.
- Paged
Compilation Task - A task that compiles a paged document.
- Typst
Browser Universe - A universe that provides access to the browser.
- Typst
Browser World - A world that provides access to the browser.