mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-26 22:32:45 +00:00
Update Menus and standardize CSS Names
Update addh4, addh5, addh6 class names to addToCH4, addToCH5, addToCH6 Update menu items for Table of contents with better labels and addToC
This commit is contained in:
@@ -31,23 +31,30 @@ module.exports = [
|
||||
gen : TableOfContentsGen,
|
||||
},
|
||||
{
|
||||
name : 'Include H4',
|
||||
name : 'Include up to H4',
|
||||
icon : 'fas fa-dice-four',
|
||||
gen : dedent `{{tocH4
|
||||
gen : dedent `{{addToCH4
|
||||
}}`,
|
||||
},
|
||||
{
|
||||
name : 'Include H4, H5',
|
||||
name : 'Include up to H5',
|
||||
icon : 'fas fa-dice-five',
|
||||
gen : dedent `{{tocH5
|
||||
gen : dedent `{{addToCH5
|
||||
}}`,
|
||||
},
|
||||
{
|
||||
name : 'Include H4-H6',
|
||||
name : 'Include up to H6',
|
||||
icon : 'fas fa-dice-six',
|
||||
gen : dedent `{{tocH6
|
||||
gen : dedent `{{addToCH6
|
||||
}}`,
|
||||
},
|
||||
{
|
||||
name : 'Include in ToC',
|
||||
icon : 'fas fa-dice-six',
|
||||
gen : dedent `{{addToC
|
||||
}}`,
|
||||
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -802,14 +802,14 @@ h6,
|
||||
.noToC,
|
||||
.toc { --TOC: exclude; }
|
||||
|
||||
.tocH4 {
|
||||
.addToCH4 {
|
||||
h4 { --TOC: include; }
|
||||
}
|
||||
.tocH5 {
|
||||
.addToCH5 {
|
||||
h4 { --TOC: include; }
|
||||
h5 { --TOC: include; }
|
||||
}
|
||||
.tocH6 {
|
||||
.addToCH6 {
|
||||
h4 { --TOC: include; }
|
||||
h5 { --TOC: include; }
|
||||
h6 { --TOC: include; }
|
||||
|
||||
Reference in New Issue
Block a user