Commit Graph
21 Commits
Author SHA1 Message Date
G.Ambatte f830104531 Use textContent instead of innerText 2024-07-17 13:59:00 +12:00
G.Ambatte 7c60fbe655 Remove page + 1 from ToC generator snippet 2024-07-02 20:46:01 +12:00
David Bolack fbe65a4e93 Resolve indentation errors in TOC Generation, adjust partCover class
This fixes an error in the recusion that was failing to add children under existing parents.
Index generation now does not overindent when levels are skipped.
PartCover less code as suggesred by CC.
2024-06-01 00:32:25 -05:00
David Bolack 7cef4316d7 Flag Table of Contents as "Experimental" 2024-05-22 21:04:32 -05:00
David Bolack b496ef3597 Remove completely redundant checks for class based exclusion from ToC Snippet 2024-05-22 16:34:00 -05:00
David Bolack 3ae5d4c1e3 Slight reworking of style naming for Table of Contents
Also uses :is operator for cleaner? looking CSS

Lastly, removes {{partCover}} from automatic exclusion.
2024-05-22 16:30:12 -05:00
David Bolack 1773e77cb9 Fix missed issues with converting to delightfully recursive function 2024-05-22 11:47:12 -05:00
David Bolack 90ce48b170 Adapt Recursive Toc function from 3254 2024-04-20 21:46:32 -05:00
David Bolack 733b929940 Integrate code recursion from 3254. 2024-03-25 19:36:30 -05:00
David Bolack 9d3f7fe556 Fix H3-H6 entries in ToC generation 2024-03-25 18:58:29 -05:00
David Bolack 40d0e7e90e Trim space off of ToC entries. 2024-03-25 16:32:03 -05:00
David Bolack 7ca10ff5a4 Add requested additions to code
Add snippet additions to handle Add h4, Add h4-h5, add h4-h6
Add collection of headers h4-h6 and rendering of h4 to h6.
2024-03-25 16:13:07 -05:00
dbolack 1705e66be2 Corrections per PR
Remove off by one error realted to change in page number detection.
Dewrap quotes from exclude screen.
2024-03-23 18:57:53 -05:00
dbolack 591278862a Merge branch 'master' into issue_2994_css_style 2024-03-23 18:52:33 -05:00
Rodrigo Kuerten 6eecd9cee4 Updated Table of Contents snippet 2024-03-06 13:46:13 -03:00
David Bolack 85caf0a892 Add fixes to account for no page numbers
Clear out manual toggles.
2024-01-29 20:14:52 -06:00
David Bolack 622827efda Fix Exclusion examination 2024-01-20 20:47:27 -06:00
David Bolack 854c21639a CSS based ToC exclusion system
either I am building the lookup incorrectly or Chrome is not letting me
see variables via computedStyles.
2024-01-20 11:58:17 -06:00
Víctor Losada Hernández b433691596 exclude covers from TOC generation 2023-07-19 21:38:14 +02:00
Trevor Buckner 96d04ad75a Fix TOC generators 2023-07-08 01:43:08 -04:00
Trevor Buckner 714a425ae5 Split themes into folders by Renderer (Legacy, V3) 2021-12-30 01:21:34 -05:00