0
0
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:
David Bolack
2024-05-22 12:44:19 -05:00
parent af82d71e4f
commit d9d4d74b71

View File

@@ -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`,
}
]
},