Skip to content

Rust API references

Rust API documentation is hosted on docs.rs. Choose a crate to browse its types, functions, modules, and examples.

  • comfit: native highlighting with bundled or custom grammars.
  • comfit-core: the shared highlighting engine and rendering APIs.
  • comfit-grammars: bundled parsers and queries.
  • comfit-themes: bundled themes and VS Code theme conversion.

For installation and usage, start with Rust.