-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
include section the toc is under in the toc #57
Comments
Thanks for your suggestion. Let me retell your scene,
is that right? |
Yes, exactly. Though other positions should probably work too ;) |
I think I get the drift. But I want to know, why don't you insert toc in the following two positions
|
This is just the style my/our readmes are constructed, for a bit more context imagine: ProjectTOC## Abstract # Chapter 1 .... # Chapter 2 ....The documents basically have an introductionary level1 chapter that contains the toc as a part of the introduction. Btw. I found a hackish workaround, which relies on what maybe would be considered a bug by some. Putting |
Hi~I add an option So you can add Could you please feedback your result? Thanks a lot! |
Indeed it works as expected |
Currently it looks like the plugin ignores all headings above the point where you insert it. This leads to the case that when it is inserted under a # heading and after the toc comes a ## heading, the generated markdown list starts with an indentation, which will not be rendered as part of the list. Therefore the plugin should have an option to also include all the headings that are before its insert point
The text was updated successfully, but these errors were encountered: