mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-09 00:42:47 +00:00
Add requested additions to code
Add snippet additions to handle Add h4, Add h4-h5, add h4-h6 Add collection of headers h4-h6 and rendering of h4 to h6.
This commit is contained in:
@@ -791,6 +791,9 @@
|
||||
// *****************************/
|
||||
|
||||
// Default Exclusions
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
.page:has(.frontCover),
|
||||
.page:has(.backCover),
|
||||
.page:has(.insideCover),
|
||||
@@ -799,6 +802,19 @@
|
||||
.noToC,
|
||||
.toc { --TOC: exclude; }
|
||||
|
||||
.tocH4 {
|
||||
h4 { --TOC: include; }
|
||||
}
|
||||
.tocH5 {
|
||||
h4 { --TOC: include; }
|
||||
h5 { --TOC: include; }
|
||||
}
|
||||
.tocH6 {
|
||||
h4 { --TOC: include; }
|
||||
h5 { --TOC: include; }
|
||||
h6 { --TOC: include; }
|
||||
}
|
||||
|
||||
.page {
|
||||
&:has(.toc)::after { display : none; }
|
||||
.toc {
|
||||
|
||||
Reference in New Issue
Block a user