Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to add contents before TOC generation. #6

Open
MrRobinOfficial opened this issue Dec 10, 2023 · 2 comments
Open

Ability to add contents before TOC generation. #6

MrRobinOfficial opened this issue Dec 10, 2023 · 2 comments

Comments

@MrRobinOfficial
Copy link

It would be nice, to generate TOC after a certain content.

For an example:

<!-- Some text before TOC generation -->
Lorem Ipsum

* [Testing](#1)
    * [Testing Again](#1-1)

<!-- Table of contents is made with https://github.com/eugene-khyst/md-toc-cli -->
@eugene-khyst
Copy link
Owner

Hi @MrRobinOfficial

Take a look at the https://github.com/thlorenz/doctoc. It allows specifying the location of TOC: https://github.com/thlorenz/doctoc#specifying-location-of-toc

@MrRobinOfficial
Copy link
Author

Hi @MrRobinOfficial

Take a look at the https://github.com/thlorenz/doctoc. It allows specifying the location of TOC: https://github.com/thlorenz/doctoc#specifying-location-of-toc

Thanks a lot!

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

No branches or pull requests

2 participants