This post covers the imgswap and img shortcodes. Images can also be embedded directly using markdown ![Ferris](ferris.svg)
, but it is better to use a shortcode so you can explicitly set the width and height, this will help prevent content layout shift which improves user experience and the google lighthouse score.
...more
Several custom shortcodes are included to augment CommonMark. video
, image
, gif
, and audio
were created to help you take advantage of modern HTML elements in your writing.
...more
Zola has many shortcodes, and new are easily added, this example shows youtube. ...more