0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-15 06:12:43 +00:00

Slight reworking of style naming for Table of Contents

Also uses :is operator for cleaner? looking CSS

Lastly, removes {{partCover}} from automatic exclusion.
This commit is contained in:
David Bolack
2024-05-22 16:30:12 -05:00
parent d9d4d74b71
commit 3ae5d4c1e3
3 changed files with 23 additions and 24 deletions

View File

@@ -33,26 +33,26 @@ module.exports = [
{
name : 'Include in ToC up to H3',
icon : 'fas fa-dice-six',
gen : dedent `\n{{addToC
gen : dedent `\n{{tocH3
}}\n`,
},
{
name : 'Include in ToC up to H4',
icon : 'fas fa-dice-four',
gen : dedent `\n{{addToC,tocH4
gen : dedent `\n{{tocH4
}}\n`,
},
{
name : 'Include in ToC up to H5',
icon : 'fas fa-dice-five',
gen : dedent `\n{{addToC,tocH5
gen : dedent `\n{{tocH5
}}\n`,
},
{
name : 'Include in ToC up to H6',
icon : 'fas fa-dice-six',
gen : dedent `\n{{addToC,tocH6
gen : dedent `\n{{tocH6
}}\n`,
}
]