1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-18 15:51:28 +00:00

Added in new auto-incrementing snippet

This commit is contained in:
Scott Tolksdorf
2016-06-05 13:09:37 -04:00
parent 5969e45087
commit 0d25a972ba
3 changed files with 33 additions and 0 deletions

View File

@@ -57,6 +57,12 @@ module.exports = [
gen : "<div class='pageNumber'>1</div>\n<div class='footnote'>PART 1 | FANCINESS</div>\n\n"
},
{
name : "Auto-incrementing Page Number",
icon : 'fa-sort-numeric-asc',
gen : "<div class='pageNumber auto'></div>\n"
},
]
},
@@ -141,6 +147,24 @@ module.exports = [
"| 17th | 4 or lower |\n\n",
].join('\n');
},
},
{
name : 'Wide Table',
icon : 'fa-list',
gen : function(){
return [
"<div class='wide'>",
"##### Cookie Tastiness",
"| Tastiness | Cookie Type |",
"|:----:|:-------------|",
"| -5 | Raisin |",
"| 8th | Chocolate Chip |",
"| 11th | 2 or lower |",
"| 14th | 3 or lower |",
"| 17th | 4 or lower |",
"</div>\n\n"
].join('\n');
},
}
]
},