markmv split
Split large markdown files maintaining link integrity
Usage
markmv split [options] <source>
Arguments
| Argument |
Description |
<source> |
Source markdown file to split |
Options
| Option |
Description |
Default |
-s, --strategy <strategy> |
Split strategy: headers|size|manual|lines |
headers |
-o, --output <dir> |
Output directory for split files |
|
-l, --header-level <level> |
Header level to split on (1-6) |
2 |
-m, --max-size <kb> |
Maximum size per section in KB |
100 |
--split-lines <lines> |
Comma-separated line numbers to split on (for lines strategy) |
|
-d, --dry-run |
Show what would be changed without making changes |
|
-v, --verbose |
Show detailed output |
|
--json |
Output results in JSON format |
|