0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-30 21:52:43 +00:00

Merge pull request #1529 from Gazook89/Commenting-Hotkeys

Add HTML Comment Hotkeys
This commit is contained in:
Trevor Buckner
2021-08-08 22:16:32 -04:00
committed by GitHub
3 changed files with 29 additions and 0 deletions

View File

@@ -113,6 +113,13 @@ module.exports = [
' }\n' +
'</style>'
},
{
name : 'Add Comment',
icon : 'fas fa-code', /* might need to be fa-solid fa-comment-code --not sure, Gazook */
gen : dedent`\n
<!-- This is a comment that will not be rendered into your brew. Hotkey (Ctrl/Cmd + /). -->
`
},
]
},

View File

@@ -100,6 +100,11 @@ module.exports = [
' }\n' +
'</style>'
},
{
name : 'Add Comment',
icon : 'fas fa-code',
gen : `\n<!-- This is a comment that will not be rendered into your brew. Hotkey (Ctrl/Cmd + /). -->\n\n`
}
]
},