-
Notifications
You must be signed in to change notification settings - Fork 807
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
toc2 -- Full url in links | #skip tag to skip headers from being inserted #1030
Conversation
ah, I hadn't understood your |
Yes, you are right with that. Let's go with the other solution. -- |
I pushed a variant where any html tag with class "tocSkip" will prevent the corresponding header to be numbered and inserted in toc.
An example is as follows
which will be displayed as A title |
Looks like a good plan to me. This can also work in parallel with the automatic solution I've implemented in #1029, I think? |
Although, line 537 should be amended to not include the skipped headers in calculating the numbering levels |
ok, I'm going to merge this as is, then address line 537 in #1027, since both approaches should work in parallel |
Hi Adding |
[toc2] with github html preview #1023 - add full URL in links
[toc2] Distinguish between (unnumbered) title and (numbered) section headings #1027 - add a
#skip
tag for skipping header insertion in toc. Just putand this will be rendered as
This is a title
without numbering and will not be inserted in toc.