diff options
Diffstat (limited to 'docs/usage.md')
| -rw-r--r-- | docs/usage.md | 8 |
1 files changed, 7 insertions, 1 deletions
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 -->` + - `// do something` (or `#`, `--`) Examples |
