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

Slight Rearrange of ToC theme names and menu

Reorders ToC inclusion options with slight relabel for clarity.
Changes assumptions on H4, H5, and H6 snippets to assume H1-H3 class should be explicitly stated.

change naming of addToToCH# to tocH#

more explicitly define .addToC to h1 to h3 changes for --TOC var.
This commit is contained in:
David Bolack
2024-05-12 12:00:55 -05:00
parent c0beae6e46
commit afb5ccec81
2 changed files with 27 additions and 23 deletions

View File

@@ -31,29 +31,29 @@ module.exports = [
gen : TableOfContentsGen,
},
{
name : 'Include up to H4',
icon : 'fas fa-dice-four',
gen : dedent `{{addToCH4
}}`,
},
{
name : 'Include up to H5',
icon : 'fas fa-dice-five',
gen : dedent `{{addToCH5
}}`,
},
{
name : 'Include up to H6',
icon : 'fas fa-dice-six',
gen : dedent `{{addToCH6
}}`,
},
{
name : 'Include in ToC',
name : 'Include in ToC up to H3',
icon : 'fas fa-dice-six',
gen : dedent `{{addToC
}}`,
},
{
name : 'Include in ToC up to H4',
icon : 'fas fa-dice-four',
gen : dedent `{{addToC,tocH4
}}`,
},
{
name : 'Include in ToC up to H5',
icon : 'fas fa-dice-five',
gen : dedent `{{addToC,tocH5
}}`,
},
{
name : 'Include in ToC up to H6',
icon : 'fas fa-dice-six',
gen : dedent `{{addToC,tocH6
}}`,
}
]
},