toc2 -- Full url in links | #skip tag to skip headers from being inserted#1030
toc2 -- Full url in links | #skip tag to skip headers from being inserted#1030jcb91 merged 3 commits intoipython-contrib:masterfrom
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
#skiptag 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.