You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, to the best of my knowledge this does not allow for default parameters and it becomes verbose.
Creating different shortcodes for combinations of these parameters become cumbersome.
For example, we could create:
image
image_alt: alt text
sized_image: width, height
sized_image_alt: width, height and alt
But this does not scale well 4 shortcodes is already a bit too much.
The text was updated successfully, but these errors were encountered:
Documentation issue
Summary
What's the best way to insert images from markdown.
I would like to be able to specify: width, height. alt text, and op.
This is suggested on the docs:
However, to the best of my knowledge this does not allow for default parameters and it becomes verbose.
Creating different shortcodes for combinations of these parameters become cumbersome.
For example, we could create:
image
image_alt
: alt textsized_image
: width, heightsized_image_alt
: width, height and altBut this does not scale well 4 shortcodes is already a bit too much.
The text was updated successfully, but these errors were encountered: