Alignment

Paragraphs or other block modifiers can be aligned left, right, centered or justified.

Textile example: Alignment

p<. Left aligned paragraph.

p>. Right aligned paragraph.

p=. Centered paragraph.

p<>. This is a very long, almost never ending, sentence with the sole purpose to demonstrate how a justified paragraph would look like if the sentence wraps around several lines. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Textile input (editable)

Browser output

HTML output


More about: Alignment

1. Images can be aligned in a similar way. The Textile syntax for a right aligned image is like so:

!>https://textile-lang.com/carver.png!

See something wrong in this page? Outdated info, a broken link, faulty code example, or whatever? Please write an issue and we’ll fix it.