<newline>

Description

An element which inserts a newline in a paragraph.

The <newline> element allows a line break to be inserted in a paragraph, without requiring a new paragraph to be started. This can be useful for fine grained control of the distribution of the words of a paragraph over several lines.

Attributes

No attributes are defined for the <newline> element.

Immediate descendants

No descendants are defined for the <newline> element.

Immediate ancestors

Element name Relation
<para> The enclosing paragraph of text.

Example

<document xmlns="http://boradoc.org/1.0">
  <chapter>
    <para>
      First line
      <newline />
      Second line
    </para>
  </chapter>
</document>

The above BDML renders to the following:

First line
Second line