Paragraphs

Paragraphs are separated by a blank line.

Textile example: Paragraphs

A paragraph.

And a paragraph with
a line break.

Textile input (editable)

Browser output

HTML output


More about: Paragraphs

1. Above example's output is identical to explicitly identifying a paragraph with p.

p. A paragraph.

p. And a paragraph with
a line break.

2. Paragraphs are separated by blank lines. Each paragraph of text is transformed into a HTML <p> ... </p> paragraph block. Line breaks within paragraphs are transformed into (X)HTML line breaks <br /> as is also shown in the example box above.

A paragraph with
a line break.

3. But a line beginning with a space will be left untouched, and not wrapped in <p> ... </p> tags:

This is a normal paragraph.
With a continuation line.

 But no paragraph tags here.

4. Paragraphs can be aligned left, right, centered, or justified:

p<. Aligned left paragraph (default).

p>. Aligned right paragraph.

p=. Centered paragraph.

p<>. Justified paragraph.

5. Indentation can be specified by one or more parentheses for every 1em to the right or left.

p(. Left indent 1em.

p((. Left indent 2em.

p(((. Left indent 3em.

Further reading: Paragraphs

  1. MDN: The HTML <p> element

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.