Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

Remove bash syntax highlighting from command reference blocks

Maximilian Roosc691004b0233
diff --git a/docs/content/config.md b/docs/content/config.md
index ac596b9bd..c15486610 100644
--- a/docs/content/config.md
+++ b/docs/content/config.md
@@ -72,7 +72,7 @@ See [LLM Commits](/llm-commits/) for installation, provider setup, and customiza
<!-- ⚠️ AUTO-GENERATED from `wt config --help-page` — edit cli.rs to update -->
-```bash
+```
wt config - Manage configuration and shell integration
Usage: wt config [OPTIONS] <COMMAND>
diff --git a/docs/content/list.md b/docs/content/list.md
index 5a9598e1f..588928ed7 100644
--- a/docs/content/list.md
+++ b/docs/content/list.md
@@ -133,7 +133,7 @@ wt list --format=json | jq '.[] | select(.status.main_divergence == "Ahead")'
<!-- ⚠️ AUTO-GENERATED from `wt list --help-page` — edit cli.rs to update -->
-```bash
+```
wt list - List worktrees and optionally branches
Usage: wt list [OPTIONS]
wt list <COMMAND>
diff --git a/docs/content/merge.md b/docs/content/merge.md
index f7dfcb2d4..9be9ad84b 100644
--- a/docs/content/merge.md
+++ b/docs/content/merge.md
@@ -68,7 +68,7 @@ Use `--no-commit` to skip steps 1-3 and only run hooks and push. Requires a clea
<!-- ⚠️ AUTO-GENERATED from `wt merge --help-page` — edit cli.rs to update -->
-```bash
+```
wt merge - Merge worktree into target branch
Usage: wt merge [OPTIONS] [TARGET]
diff --git a/docs/content/remove.md b/docs/content/remove.md
index a02ed064c..0469f8680 100644
--- a/docs/content/remove.md
+++ b/docs/content/remove.md
@@ -68,7 +68,7 @@ If `repo.foo/` exists on branch `bar`, both `wt remove foo` and `wt remove bar`
<!-- ⚠️ AUTO-GENERATED from `wt remove --help-page` — edit cli.rs to update -->
-```bash
+```
wt remove - Remove worktree and branch
Usage: wt remove [OPTIONS] [WORKTREES]...
diff --git a/docs/content/select.md b/docs/content/select.md
index 64309cab3..afd60aa47 100644
--- a/docs/content/select.md
+++ b/docs/content/select.md
@@ -47,7 +47,7 @@ Toggle between views with number keys:
<!-- ⚠️ AUTO-GENERATED from `wt select --help-page` — edit cli.rs to update -->
-```bash
+```
wt select - Interactive worktree selector
Toggle preview tabs with 1/2/3 keys. Toggle preview visibility with alt-p.
diff --git a/docs/content/step.md b/docs/content/step.md
index 87b04e66f..b148bf4c1 100644
--- a/docs/content/step.md
+++ b/docs/content/step.md
@@ -59,7 +59,7 @@ wt step push
<!-- ⚠️ AUTO-GENERATED from `wt step --help-page` — edit cli.rs to update -->
-```bash
+```
wt step - Run individual workflow operations
Usage: wt step [OPTIONS] <COMMAND>
diff --git a/docs/content/switch.md b/docs/content/switch.md
index 5b28f42c4..499507d07 100644
--- a/docs/content/switch.md
+++ b/docs/content/switch.md
@@ -78,7 +78,7 @@ wt switch --create temp --no-verify # Skip hooks
<!-- ⚠️ AUTO-GENERATED from `wt switch --help-page` — edit cli.rs to update -->
-```bash
+```
wt switch - Switch to a worktree
Usage: wt switch [OPTIONS] <BRANCH>
diff --git a/src/main.rs b/src/main.rs
index 18abfe2a5..1865df141 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -269,7 +269,7 @@ fn handle_help_page(args: &[String]) {
"<!-- ⚠️ AUTO-GENERATED from `wt {subcommand} --help-page` — edit cli.rs to update -->"
);
println!();
- println!("```bash");
+ println!("```");
print!("{}", reference_block.trim());
println!();
println!("```");