Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to add legend with the image_aligner #436

Open
sylhare opened this issue Apr 17, 2024 · 0 comments
Open

Possibility to add legend with the image_aligner #436

sylhare opened this issue Apr 17, 2024 · 0 comments

Comments

@sylhare
Copy link
Owner

sylhare commented Apr 17, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant