mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-30 00:12:56 +00:00
Correct ToC Global toggles subsnippets
The snippets incorrectedly reflected their previous incarnation as part of the Styles tab menus.
This commit is contained in:
@@ -155,36 +155,24 @@ module.exports = [
|
||||
},
|
||||
|
||||
{
|
||||
name : 'Table of Contents Toggles',
|
||||
icon : 'fas fa-book',
|
||||
gen : dedent`/* Add ToC include for H3, H4, H5, and H6 level Headers */
|
||||
.page h3, .page h4, .page h5, .page h6 {
|
||||
--TOC: include;
|
||||
}\n\n`,
|
||||
name : 'Table of Contents Toggles',
|
||||
icon : 'fas fa-book',
|
||||
gen : `{{tocGlobalH4}}\n\n`,
|
||||
subsnippets : [
|
||||
{
|
||||
name : 'Enable H1-H4 all pages',
|
||||
icon : 'fas fa-dice-four',
|
||||
gen : dedent`/* Add ToC include for H3 and H4 level Headers */
|
||||
.page h3, .page h4 {
|
||||
--TOC: include;
|
||||
}\n\n`
|
||||
gen : `{{tocGlobalH4}}\n\n`,
|
||||
},
|
||||
{
|
||||
name : 'Enable H1-H5 all pages',
|
||||
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;
|
||||
}\n\n`
|
||||
gen : `{{tocGlobalH5}}\n\n`,
|
||||
},
|
||||
{
|
||||
name : 'Enable H1-H6 all pages',
|
||||
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;
|
||||
}\n\n`
|
||||
gen : `{{tocGlobalH6}}\n\n`,
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user