mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 22:52:40 +00:00
Add CR wrappers around addTOC snippet insertions.
This commit is contained in:
@@ -33,27 +33,27 @@ module.exports = [
|
||||
{
|
||||
name : 'Include in ToC up to H3',
|
||||
icon : 'fas fa-dice-six',
|
||||
gen : dedent `{{addToC
|
||||
}}`,
|
||||
gen : dedent `\n{{addToC
|
||||
}}\n`,
|
||||
|
||||
},
|
||||
{
|
||||
name : 'Include in ToC up to H4',
|
||||
icon : 'fas fa-dice-four',
|
||||
gen : dedent `{{addToC,tocH4
|
||||
}}`,
|
||||
gen : dedent `\n{{addToC,tocH4
|
||||
}}\n`,
|
||||
},
|
||||
{
|
||||
name : 'Include in ToC up to H5',
|
||||
icon : 'fas fa-dice-five',
|
||||
gen : dedent `{{addToC,tocH5
|
||||
}}`,
|
||||
gen : dedent `\n{{addToC,tocH5
|
||||
}}\n`,
|
||||
},
|
||||
{
|
||||
name : 'Include in ToC up to H6',
|
||||
icon : 'fas fa-dice-six',
|
||||
gen : dedent `{{addToC,tocH6
|
||||
}}`,
|
||||
gen : dedent `\n{{addToC,tocH6
|
||||
}}\n`,
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user