Skip to content

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

Use <pre> tags for Worktrunk column to prevent wrapping (#230)

Maximilian Roos091aa96eb95e
diff --git a/README.md b/README.md
index 7715d9b60..0d17e45e2 100644
--- a/README.md
+++ b/README.md
@@ -51,26 +51,26 @@ worktree requires typing the branch name three times: `git worktree add -b feat
<tbody>
<tr>
<td>Switch worktrees</td>
- <td><code>wt switch feat</code></td>
+ <td><pre>wt switch feat</pre></td>
<td><pre>cd ../repo.feat</pre></td>
</tr>
<tr>
<td>Create + start Claude</td>
- <td><code>wt switch -c -x claude feat</code></td>
+ <td><pre>wt switch -c -x claude feat</pre></td>
<td><pre>git worktree add -b feat ../repo.feat && \
cd ../repo.feat && \
claude</pre></td>
</tr>
<tr>
<td>Clean up</td>
- <td><code>wt remove</code></td>
+ <td><pre>wt remove</pre></td>
<td><pre>cd ../repo && \
git worktree remove ../repo.feat && \
git branch -d feat</pre></td>
</tr>
<tr>
<td>List with status</td>
- <td><code>wt list</code></td>
+ <td><pre>wt list</pre></td>
<td><pre>git worktree list</pre> (paths only)</td>
</tr>
</tbody>
diff --git a/docs/content/worktrunk.md b/docs/content/worktrunk.md
index bd18ea4a8..ffb114b90 100644
--- a/docs/content/worktrunk.md
+++ b/docs/content/worktrunk.md
@@ -45,26 +45,26 @@ worktree requires typing the branch name three times: `git worktree add -b feat
<tbody>
<tr>
<td>Switch worktrees</td>
- <td><code>wt switch feat</code></td>
+ <td>{% rawcode() %}wt switch feat{% end %}</td>
<td>{% rawcode() %}cd ../repo.feat{% end %}</td>
</tr>
<tr>
<td>Create + start Claude</td>
- <td><code>wt switch -c -x claude feat</code></td>
+ <td>{% rawcode() %}wt switch -c -x claude feat{% end %}</td>
<td>{% rawcode() %}git worktree add -b feat ../repo.feat && \
cd ../repo.feat && \
claude{% end %}</td>
</tr>
<tr>
<td>Clean up</td>
- <td><code>wt remove</code></td>
+ <td>{% rawcode() %}wt remove{% end %}</td>
<td>{% rawcode() %}cd ../repo && \
git worktree remove ../repo.feat && \
git branch -d feat{% end %}</td>
</tr>
<tr>
<td>List with status</td>
- <td><code>wt list</code></td>
+ <td>{% rawcode() %}wt list{% end %}</td>
<td>{% rawcode() %}git worktree list{% end %} (paths only)</td>
</tr>
</tbody>