0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 18:32:41 +00:00

Change to .page and tweak spacing/newlines to match other snippets

All of our "global" style snippets are just set at `.page`, not `.pages`. This still applies globally but is consistent with our current approach.
This commit is contained in:
Trevor Buckner
2024-10-18 10:53:16 -04:00
committed by GitHub
parent 9d81f50b60
commit d53a271c9f

View File

@@ -199,17 +199,17 @@ module.exports = [
{
name : 'Enable H1-H4 all pages',
icon : 'fas fa-dice-four',
gen : `\n.pages {\n h4 {--TOC: include; }\n}\n\n`,
gen : `.page {\n\th4 {--TOC: include; }\n}\n\n`,
},
{
name : 'Enable H1-H5 all pages',
icon : 'fas fa-dice-five',
gen : `\n.pages {\n h4, h5 {--TOC: include; }\n}\n\n`,
gen : `.page {\n\th4, h5 {--TOC: include; }\n}\n\n`,
},
{
name : 'Enable H1-H6 all pages',
icon : 'fas fa-dice-six',
gen : `\n.pages {\n h4, h5, h6 {--TOC: include; }\n}\n\n`,
gen : `.page {\n\th4, h5, h6 {--TOC: include; }\n}\n\n`,
},
]
}