-
Notifications
You must be signed in to change notification settings - Fork 48
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
Feature request: Provide easy way to remove TOC from a document #76
Comments
Thank you @Kshitiz-Sharma, it sounds nice! (maybe using 'data-xxx' attributes is better than 'id') |
@naokazuterada let me know if you create a feature branch, then I will update the documentation accordingly in the same branch Have a nice weekend, jonasbn |
Sorry, I noticed this feature has already been implemented. It has been achieved in this line. My test case is below. Please try it or report your condition in more detail.
|
Thanks. That should do. I'm closing this request. |
Hi @naokazuterada do you want a mention of this in the documentation. jonasbn |
Hello @jonasbn I think it's not necessary. But it's nice that it's mentioned in the document naturally. Could you try it? |
If TOC is generated with hyperlinking enabled, the document will be inserted a lot of anchors. When removing the TOC, user would need to search and remove each of these by hand. For large documents this can be a lot of work.
The alternative is to generate the anchors with a unique identifier:
Later when user clicks on delete TOC, the table can be deleted along with all anchors having id mtoc.
The text was updated successfully, but these errors were encountered: