Type-on-Strap icon indicating copy to clipboard operation
Type-on-Strap copied to clipboard

Possibility to add legend with the image_aligner

Open sylhare opened this issue 1 year ago • 0 comments

The image aligner is used to align images within an article:

{% include aligner.html images="path/to/img1.png,path/to/img2.png,path/to/img3.png" column=3 %}

It would be nice to be able to also add a legend or a title under the images. Maybe using:

{% include aligner.html images="path/to/img1.png,path/to/img2.png,path/to/img3.png" legends="picture 1|picture 2|picture 3" column=3 %}

Then using the | separator with the same order as the image to set them in the HTML. The legend should be in italic, and of a weaker tone from the main one.

sylhare avatar Apr 17 '24 16:04 sylhare