0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-01 21:42:44 +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', name : 'Enable H1-H4 all pages',
icon : 'fas fa-dice-four', 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', name : 'Enable H1-H5 all pages',
icon : 'fas fa-dice-five', 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', name : 'Enable H1-H6 all pages',
icon : 'fas fa-dice-six', 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`,
}, },
] ]
} }