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

Alignment of block image should be controlled using block align roles instead of text align roles #2176

Closed
mojavelinux opened this issue May 16, 2022 · 0 comments
Assignees
Milestone

Comments

@mojavelinux
Copy link
Member

Currently, the converter looks for a role with the prefix text- (e.g., text-center) to align a block image if neither the float or align attributes are set. However, these roles are intended to be used for aligning text. The converter should instead look for the block align roles (e.g., center).

Example:

image::center-me.png[role=center]
@mojavelinux mojavelinux self-assigned this May 16, 2022
@mojavelinux mojavelinux added this to the v2.0.0 milestone May 16, 2022
mojavelinux added a commit to mojavelinux/asciidoctor-pdf that referenced this issue May 16, 2022
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