From 8889949ad3851bfbf36ff5b73128286d67c88201 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 7 Sep 2025 11:26:10 +0300 Subject: tiding up --- docs/usage.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'docs/usage.md') diff --git a/docs/usage.md b/docs/usage.md index a5c5dca..05d6c55 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -110,7 +110,13 @@ hexai 'install ripgrep on macOS and explain' - Choose an action with arrow keys, `j/k`, `g/G`, Enter, or hotkeys `[s] [r] [c] [t]`. - Output is written to stdout by default, or to a file via `--outfile`. -Input formats are the same as described in the README (inline instruction markers for rewrite; optional `Diagnostics:` header block). +Input formats + +- Rewrite: include an inline instruction near the top of the selection using one of: + - `;do something;` + - `/* do something */` + - `` + - `// do something` (or `#`, `--`) Examples -- cgit v1.2.3