0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-15 04:02:38 +00:00

Merge pull request #3679 from dbolack-ab/skipCountingSnippet

Add Page number alteration snippets
This commit is contained in:
Trevor Buckner
2024-09-09 11:12:16 -04:00
committed by GitHub

View File

@@ -22,6 +22,10 @@ module.exports = [
icon : 'fas fa-file-alt', icon : 'fas fa-file-alt',
gen : '\n\\page\n' gen : '\n\\page\n'
}, },
{
name : 'Page Numbering',
icon : 'fas fa-bookmark',
subsnippets : [
{ {
name : 'Page Number', name : 'Page Number',
icon : 'fas fa-bookmark', icon : 'fas fa-bookmark',
@@ -32,6 +36,18 @@ module.exports = [
icon : 'fas fa-sort-numeric-down', icon : 'fas fa-sort-numeric-down',
gen : '{{pageNumber,auto}}\n' gen : '{{pageNumber,auto}}\n'
}, },
{
name : 'Skip Page Number Increment this Page',
icon : 'fas fa-xmark',
gen : '{{skipCounting}}\n'
},
{
name : 'Restart Numbering',
icon : 'fas fa-arrow-rotate-left',
gen : '{{resetCounting}}\n'
},
]
},
{ {
name : 'Footer', name : 'Footer',
icon : 'fas fa-shoe-prints', icon : 'fas fa-shoe-prints',