mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-30 04:32:38 +00:00
Hopeflly final class renaming sessions.
This commit is contained in:
@@ -35,26 +35,26 @@ module.exports = [
|
||||
{
|
||||
name : 'Include in ToC up to H3',
|
||||
icon : 'fas fa-dice-six',
|
||||
gen : dedent `\n{{tocAddH1H3
|
||||
gen : dedent `\n{{tocDepthH3
|
||||
}}\n`,
|
||||
|
||||
},
|
||||
{
|
||||
name : 'Include in ToC up to H4',
|
||||
icon : 'fas fa-dice-four',
|
||||
gen : dedent `\n{{tocAddH1H4
|
||||
gen : dedent `\n{{tocDepthH4
|
||||
}}\n`,
|
||||
},
|
||||
{
|
||||
name : 'Include in ToC up to H5',
|
||||
icon : 'fas fa-dice-five',
|
||||
gen : dedent `\n{{tocAddH1H5
|
||||
gen : dedent `\n{{tocDepthH5
|
||||
}}\n`,
|
||||
},
|
||||
{
|
||||
name : 'Include in ToC up to H6',
|
||||
icon : 'fas fa-dice-six',
|
||||
gen : dedent `\n{{tocAddH1H6
|
||||
gen : dedent `\n{{tocDepthH6
|
||||
}}\n`,
|
||||
}
|
||||
]
|
||||
|
||||
@@ -798,18 +798,18 @@ h6,
|
||||
.noToC,
|
||||
.toc { --TOC: exclude; }
|
||||
|
||||
.tocAddH1H2 :is(h1, h2) {--TOC: include; }
|
||||
.tocAddH1H3 :is(h1, h2, h3) {--TOC: include; }
|
||||
.tocAddH1H4 :is(h1, h2, h3, h4) {--TOC: include; }
|
||||
.tocAddH1H5 :is(h1, h2, h3, h4, h5) {--TOC: include; }
|
||||
.tocAddH1H6 :is(h1, h2, h3, h4, h5, h6) {--TOC: include; }
|
||||
.tocDepthH2 :is(h1, h2) {--TOC: include; }
|
||||
.tocDepthH3 :is(h1, h2, h3) {--TOC: include; }
|
||||
.tocDepthH4 :is(h1, h2, h3, h4) {--TOC: include; }
|
||||
.tocDepthH5 :is(h1, h2, h3, h4, h5) {--TOC: include; }
|
||||
.tocDepthH6 :is(h1, h2, h3, h4, h5, h6) {--TOC: include; }
|
||||
|
||||
.tocAddH1 h1 {--TOC: include; }
|
||||
.tocAddH2 h2 {--TOC: include; }
|
||||
.tocAddH3 h3 {--TOC: include; }
|
||||
.tocAddH4 h4 {--TOC: include; }
|
||||
.tocAddH5 h5 {--TOC: include; }
|
||||
.tocAddH6 h6 {--TOC: include; }
|
||||
.tocIncludeH1 h1 {--TOC: include; }
|
||||
.tocIncludeH2 h2 {--TOC: include; }
|
||||
.tocIncludeH3 h3 {--TOC: include; }
|
||||
.tocIncludeH4 h4 {--TOC: include; }
|
||||
.tocIncludeH5 h5 {--TOC: include; }
|
||||
.tocIncludeH6 h6 {--TOC: include; }
|
||||
|
||||
.page {
|
||||
&:has(.toc)::after { display : none; }
|
||||
|
||||
Reference in New Issue
Block a user