mirror of
https://github.com/tree-sitter/tree-sitter.git
synced 2026-09-10 07:26:23 -04:00
- `--layout <document|line-numbers|fragment>` (default `document`): the document structure. `document` is a self-contained page wrapping a plain `<div class="highlight"><pre><code>` block, `line-numbers` adds a line-number `<table>`, and `fragment` emits only the code markup with no surrounding `<head>`/`<style>`/`<body>` so it can be embedded in an existing page. - `--style <classes|inline|minimal>` (default `classes`): how token colors are applied. `classes` uses `class="..."` spans plus a generated `<style>`, `inline` bakes colors onto each span so the markup is self-contained, and `minimal` emits bare classes with no colors (bring your own stylesheet). Deprecates the `--css-classes` flag. |
||
|---|---|---|
| .. | ||
| src | ||
| theme | ||
| .gitignore | ||
| book.toml | ||
| package.nix | ||