mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 18:32:41 +00:00
Update to use dedent in the same manner as other snippets
This commit is contained in:
@@ -53,10 +53,10 @@ module.exports = [
|
||||
name : 'QR Code',
|
||||
icon : 'fas fa-qrcode',
|
||||
gen : (brew)=>{
|
||||
return `![]` +
|
||||
`(https://api.qrserver.com/v1/create-qr-code/?data=` +
|
||||
`https://homebrewery.naturalcrit.com` + `${brew.shareId ? `/share/${brew.shareId}` : ''}` +
|
||||
`&size=100x100) {width:100px;mix-blend-mode:multiply}`;
|
||||
return dedent`![]
|
||||
(https://api.qrserver.com/v1/create-qr-code/?data=
|
||||
https://homebrewery.naturalcrit.com${brew.shareId ? `/share/${brew.shareId}` : ''}
|
||||
&size=100x100) {width:100px;mix-blend-mode:multiply}`;
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user