0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-10 07:02:39 +00:00

Disable Global ToC Snippet

This commit is contained in:
Trevor Buckner
2024-10-17 16:42:57 -04:00
parent 4dd07a3c11
commit f2f06b23fd
4 changed files with 36 additions and 28 deletions

View File

@@ -812,17 +812,20 @@ h6,
// Brew level default inclusion changes.
// These add Headers 'back' to inclusion.
.pages:has(.tocGlobalH4) {
h4 {--TOC: include; }
}
.pages:has(.tocGlobalH5) {
h4, h5 {--TOC: include; }
}
//NOTE: DO NOT USE :HAS WITH .PAGES!!! EXTREMELY SLOW TO RENDER ON LARGE DOCS!
//WILL BE MOVED TO A STYLE TAB SNIPPET INSTEAD
// .pages:has(.tocGlobalH4) {
// h4 {--TOC: include; }
// }
.pages:has(.tocGlobalH6) {
h4, h5, h6 {--TOC: include; }
}
// .pages:has(.tocGlobalH5) {
// h4, h5 {--TOC: include; }
// }
// .pages:has(.tocGlobalH6) {
// h4, h5, h6 {--TOC: include; }
// }
// Block level inclusion changes
// These include either a single (include) or a range (depth)