mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-01 15:12:40 +00:00
Merge branch 'GlobalToCToggles' of github.com:dbolack-ab/homebrewery into GlobalToCToggles
This commit is contained in:
@@ -108,7 +108,7 @@ module.exports = [
|
||||
icon : 'fas fa-dice-four',
|
||||
gen : dedent`/* Add ToC include for H3 and H4 level Headers */
|
||||
.page h3, .page h4 {
|
||||
--TOC: include;
|
||||
--TOC: include;
|
||||
}\n\n`
|
||||
},
|
||||
{
|
||||
@@ -116,7 +116,7 @@ module.exports = [
|
||||
icon : 'fas fa-dice-five',
|
||||
gen : dedent`/* Add ToC include for H3, H4, and H5 level Headers */
|
||||
.page h3, .page h4, .page h5 {
|
||||
--TOC: include;
|
||||
--TOC: include;
|
||||
}\n\n`
|
||||
},
|
||||
{
|
||||
@@ -124,7 +124,7 @@ module.exports = [
|
||||
icon : 'fas fa-dice-six',
|
||||
gen : dedent`/* Add ToC include for H3, H4, H5, and H6 level Headers */
|
||||
.page h3, .page h4, .page h5, .page h6 {
|
||||
--TOC: include;
|
||||
--TOC: include;
|
||||
}\n\n`
|
||||
},
|
||||
]
|
||||
|
||||
@@ -814,6 +814,18 @@ h6,
|
||||
.tocDepthH5 :is(h1, h2, h3, h4, h5) {--TOC: include; }
|
||||
.tocDepthH6 :is(h1, h2, h3, h4, h5, h6) {--TOC: include; }
|
||||
|
||||
.page:has(.tocGobalH4) {
|
||||
h4 {--TOC: include; }
|
||||
}
|
||||
|
||||
.page:has(.tocGobalH5) {
|
||||
h4, h5 {--TOC: include; }
|
||||
}
|
||||
|
||||
.page:has(.tocGobalH6) {
|
||||
h4, h5, h6 {--TOC: include; }
|
||||
}
|
||||
|
||||
.tocIncludeH1 h1 {--TOC: include; }
|
||||
.tocIncludeH2 h2 {--TOC: include; }
|
||||
.tocIncludeH3 h3 {--TOC: include; }
|
||||
|
||||
Reference in New Issue
Block a user