Setting <img src="" width="" height="" /> as default image insertion expression?
Not really an issue, but I was wondering if there was the possibility to optionally customise the image insertion command, so that it would "translate" to <img src="" width="" height="" />, which would make inserting and resizing a high number of pictures much easier and straightforward.
A similar but distinct question, would be about the possibility of assigning personalised keyboard shortcuts to image insertion (but other elements as well, such as tables and bullets insertion).
Thank you in advance
Hi, and sorry for the delay in replying!
Python-Markdown allows you to specify any additional attributes, see attr_list documentation.
So after an image markup is inserted, e.g. , you can append your desired width like this: {: width=500 } and it will be applied.
As there exists Markdown markup for this purpose, I think we should use it and not raw HTML.
Regarding the keyboard shortcut, I am not sure I want to add it, but which one would you prefer?
Thank you for the tip about the markdown standard!
Mmh, as for the combination, I think ctrl+shift+i could be memorable enough? Though not adverse to any other key combination, really