0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-17 05:52:42 +00:00

Hopeflly final class renaming sessions.

This commit is contained in:
David Bolack
2024-05-22 21:25:10 -05:00
parent 7cef4316d7
commit 62ed026757
2 changed files with 15 additions and 15 deletions

View File

@@ -35,26 +35,26 @@ module.exports = [
{ {
name : 'Include in ToC up to H3', name : 'Include in ToC up to H3',
icon : 'fas fa-dice-six', icon : 'fas fa-dice-six',
gen : dedent `\n{{tocAddH1H3 gen : dedent `\n{{tocDepthH3
}}\n`, }}\n`,
}, },
{ {
name : 'Include in ToC up to H4', name : 'Include in ToC up to H4',
icon : 'fas fa-dice-four', icon : 'fas fa-dice-four',
gen : dedent `\n{{tocAddH1H4 gen : dedent `\n{{tocDepthH4
}}\n`, }}\n`,
}, },
{ {
name : 'Include in ToC up to H5', name : 'Include in ToC up to H5',
icon : 'fas fa-dice-five', icon : 'fas fa-dice-five',
gen : dedent `\n{{tocAddH1H5 gen : dedent `\n{{tocDepthH5
}}\n`, }}\n`,
}, },
{ {
name : 'Include in ToC up to H6', name : 'Include in ToC up to H6',
icon : 'fas fa-dice-six', icon : 'fas fa-dice-six',
gen : dedent `\n{{tocAddH1H6 gen : dedent `\n{{tocDepthH6
}}\n`, }}\n`,
} }
] ]

View File

@@ -798,18 +798,18 @@ h6,
.noToC, .noToC,
.toc { --TOC: exclude; } .toc { --TOC: exclude; }
.tocAddH1H2 :is(h1, h2) {--TOC: include; } .tocDepthH2 :is(h1, h2) {--TOC: include; }
.tocAddH1H3 :is(h1, h2, h3) {--TOC: include; } .tocDepthH3 :is(h1, h2, h3) {--TOC: include; }
.tocAddH1H4 :is(h1, h2, h3, h4) {--TOC: include; } .tocDepthH4 :is(h1, h2, h3, h4) {--TOC: include; }
.tocAddH1H5 :is(h1, h2, h3, h4, h5) {--TOC: include; } .tocDepthH5 :is(h1, h2, h3, h4, h5) {--TOC: include; }
.tocAddH1H6 :is(h1, h2, h3, h4, h5, h6) {--TOC: include; } .tocDepthH6 :is(h1, h2, h3, h4, h5, h6) {--TOC: include; }
.tocAddH1 h1 {--TOC: include; } .tocIncludeH1 h1 {--TOC: include; }
.tocAddH2 h2 {--TOC: include; } .tocIncludeH2 h2 {--TOC: include; }
.tocAddH3 h3 {--TOC: include; } .tocIncludeH3 h3 {--TOC: include; }
.tocAddH4 h4 {--TOC: include; } .tocIncludeH4 h4 {--TOC: include; }
.tocAddH5 h5 {--TOC: include; } .tocIncludeH5 h5 {--TOC: include; }
.tocAddH6 h6 {--TOC: include; } .tocIncludeH6 h6 {--TOC: include; }
.page { .page {
&:has(.toc)::after { display : none; } &:has(.toc)::after { display : none; }