Skip to content

Conversation

@ryo246912
Copy link

@ryo246912 ryo246912 commented Feb 7, 2026

Fix: #26

This PR implements the --insert flag feature that allows users to insert generated TOC directly into markdown files, similar to the bash version of github-markdown-toc and doctoc.

Supported Commands

# Insert TOC into a file (creates backup by default)
gh-md-toc --insert README.md

# Insert TOC without creating backup
gh-md-toc --insert --no-backup README.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Add --insert option (like in shell project)

1 participant