markmv refactor-headings
Refactor markdown headings and update all affected links
Usage
markmv refactor-headings [options] [files...]
Arguments
| Argument |
Description |
[files...] |
Markdown files to process (supports globs, defaults to current directory) |
Options
| Option |
Description |
--old-heading <text> |
Original heading text to find and replace |
--new-heading <text> |
New heading text to replace with |
-r, --recursive |
Process directories recursively |
--max-depth <number> |
Maximum depth to traverse subdirectories |
--no-update-cross-references |
Skip updating cross-file references |
-d, --dry-run |
Show what would be changed without making changes |
-v, --verbose |
Show detailed output with processing information |
--json |
Output results in JSON format |