]> git.maquefel.me Git - brevno-suite/hugo/commit
images.Text: Add "alignx" option for horizontal alignment
authorJulius Künzel <julius.kuenzel@kde.org>
Mon, 6 Jan 2025 19:31:18 +0000 (20:31 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 8 Jan 2025 16:23:46 +0000 (17:23 +0100)
commit4a5cc2dd260ee1675f40d581ed06141459f60179
tree4cea2b3b03434046ed4c6d3f628af02411b1d43f
parent9cad8d38ca45df3353ab304c3f76b4a693430b78
images.Text: Add "alignx" option for horizontal alignment

Add an "alignx" option to the images.Text to control whether the value of the "x" option is the left border of the text (current behaviour), the center of each line or the right border.

Fixes #10849
docs/content/en/functions/images/Text.md
resources/images/filters.go
resources/images/text.go