0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-05 23:12:39 +00:00

Update image snippets to be pure markdown

This commit is contained in:
Trevor Buckner
2021-07-28 23:42:51 -04:00
parent d9c83379fe
commit 4e2a3cc5be

View File

@@ -51,16 +51,13 @@ module.exports = [
name : 'Image', name : 'Image',
icon : 'fas fa-image', icon : 'fas fa-image',
gen : dedent` gen : dedent`
<img ![cat warrior](https://s-media-cache-ak0.pinimg.com/736x/4a/81/79/4a8179462cfdf39054a418efd4cb743e.jpg) {width="325px"}
src='https://s-media-cache-ak0.pinimg.com/736x/4a/81/79/4a8179462cfdf39054a418efd4cb743e.jpg'
style='width:325px'/>
Credit: Kyounghwan Kim` Credit: Kyounghwan Kim`
}, },
{ {
name : 'Background Image', name : 'Background Image',
icon : 'fas fa-tree', icon : 'fas fa-tree',
gen : `<img src='http://i.imgur.com/hMna6G0.png' ` + gen : `![homebrew mug](http://i.imgur.com/hMna6G0.png) {position="absolute",top="50px",right="30px",width="280px"}`
`style='position:absolute; top:50px; right:30px; width:280px'/>`
}, },
{ {
name : 'QR Code', name : 'QR Code',