CLI command handler for TOC operations.
Processes markdown files to generate and insert table of contents. Supports various positioning options and customization.
Array of file paths to process
CLI-specific options
# Add TOC to a single file markmv toc README.md # Add TOC to multiple files with custom options markmv toc docs/*.md --position after-title --min-depth 2 --max-depth 4 # Replace existing TOC using marker markmv toc file.md --position replace --marker "<!-- TOC -->" Copy
# Add TOC to a single file markmv toc README.md # Add TOC to multiple files with custom options markmv toc docs/*.md --position after-title --min-depth 2 --max-depth 4 # Replace existing TOC using marker markmv toc file.md --position replace --marker "<!-- TOC -->"
CLI command handler for TOC operations.
Processes markdown files to generate and insert table of contents. Supports various positioning options and customization.