-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
Add support for aligning text when adding to images using images.Text #10849
Labels
Milestone
Comments
That is something we would need as well! |
jlskuz
added a commit
to jlskuz/hugo
that referenced
this issue
Jan 6, 2025
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 gohugoio#10849
jlskuz
added a commit
to jlskuz/hugo
that referenced
this issue
Jan 6, 2025
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 gohugoio#10849
jlskuz
added a commit
to jlskuz/hugo
that referenced
this issue
Jan 6, 2025
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 gohugoio#10849
jlskuz
added a commit
to jlskuz/hugo
that referenced
this issue
Jan 6, 2025
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 gohugoio#10849
jlskuz
added a commit
to jlskuz/hugo
that referenced
this issue
Jan 7, 2025
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 gohugoio#10849
jlskuz
added a commit
to jlskuz/hugo
that referenced
this issue
Jan 8, 2025
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 gohugoio#10849
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If we could left/center/right align text within a textbox (and maybe support word-wrap?) this would make the text rendering a lot more useful. Often when we are rendering images dynamically, to match some designer-specified template, they would include left/centre/right alignment, which I don't think we can currently do.
The text was updated successfully, but these errors were encountered: