mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-08 09:42:43 +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:
@@ -21,9 +21,34 @@ module.exports = [
|
||||
view : 'text',
|
||||
snippets : [
|
||||
{
|
||||
name : 'Table of Contents',
|
||||
icon : 'fas fa-book',
|
||||
gen : TableOfContentsGen
|
||||
name : 'Table of Contents',
|
||||
icon : 'fas fa-book',
|
||||
gen : TableOfContentsGen,
|
||||
subsnippets : [
|
||||
{
|
||||
name : 'Table of Contents',
|
||||
icon : 'fas fa-book',
|
||||
gen : TableOfContentsGen,
|
||||
},
|
||||
{
|
||||
name : 'Include H4',
|
||||
icon : 'fas fa-dice-four',
|
||||
gen : dedent `{{tocH4
|
||||
}}`,
|
||||
},
|
||||
{
|
||||
name : 'Include H4, H5',
|
||||
icon : 'fas fa-dice-five',
|
||||
gen : dedent `{{tocH5
|
||||
}}`,
|
||||
},
|
||||
{
|
||||
name : 'Include H4-H6',
|
||||
icon : 'fas fa-dice-six',
|
||||
gen : dedent `{{tocH6
|
||||
}}`,
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
name : 'Index',
|
||||
|
||||
Reference in New Issue
Block a user