0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-07 12:02:44 +00:00

Further snippet tweaks

This commit is contained in:
Trevor Buckner
2023-03-23 16:47:23 -04:00
parent dc1ef3dd3e
commit 3b5aef7d71

View File

@@ -20,10 +20,10 @@ module.exports = {
'right' : 270 'right' : 270
}[side]; }[side];
return dedent` return dedent`
{{imageMaskEdge${_.random(1, 8)},--offset:0cm,--rotation:${rotation} {{imageMaskEdge${_.random(1, 8)},--offset:0%,--rotation:${rotation}
![](https://i.imgur.com/GZfjDWV.png){height:100%} ![](https://i.imgur.com/GZfjDWV.png){height:100%}
}} }}
<!-- Use --offset to shift the mask toward or away from the page center. <!-- Use --offset to shift the mask away from page center (can use cm instead of %)
Use --rotation to set rotation angle in degrees. -->\n\n`; Use --rotation to set rotation angle in degrees. -->\n\n`;
}, },