Answer the question
In order to leave comments, you need to log in
Emmet Sublime how to add image dimensions?
Hello, I’ve already looked all over Google, I don’t find how to bind to a key in Sublime text 4 height and width , I found that in emmet and sublime according to the ctrl + U button standard, but this design doesn’t work
for me, I have this { "keys": [ "ctrl+u"], "command": "soft_undo" }, but I can't find which command is responsible for height and width (((
you need to get:
<img src="assets/images/whatsapp.png" height="40" width="50" alt="">
Answer the question
In order to leave comments, you need to log in
https://docs.emmet.io/cheat-sheet/
https://packagecontrol.io/packages/Emmet
// Put this code snippet into your .sublime-keymap file
// and modify `keys` value with desired shortcut
{
"keys": ["ctrl+."],
"command": "emmet_enter_abbreviation"
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question