You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
437 B

4 years ago
Asciidoctor provides built-in roles to align the text of a paragraph.
The name of the role follows the pattern `text-<alignment>`, where `<alignment>` is one of left, center, right, or justify (e.g., `text-center`).
Here's an example of a paragraph with center-aligned text.
[source,asciidoc]
----
[.text-center]
This text is centered.
----
These built-in text alignment roles are currently supported by the HTML5 and PDF converters.