Titles
Also referred to as a setext heading, Titles are useful to communicate the central idea of a document. Titles are most useful as the leading content of a set of text material.
Syntax
Titles are created by writing a single line of content followed by a line containing at least 1 of either
=or-characters. The second line shouldn't contain text other than these two characters.Basics
The most basic example, a line of content with a following line with a
=character.My Document Title =Titles can be written in the same way using
-characters.My Document Title -Any Amount of Characters
The amount of
=or-characters that are used is not important. Having a matching amount of characters on both lines can be a nice touch for readability, though.My Document Title =================Markdown++
A custom Paragraph Style can be given to a Title using a Markdown++
style:command on the line directly above the Title.<!--style:CustomTitle--> My Document Title =================To learn more about Markdown++ tagging, see Learning Markdown++.
ePublisher Style Information
Style Behavior
The style name a Title will get is dependent on the characters used in the second line. Title 1 is given to Titles that use = characters, and Title 2 is given to Titles that use - characters.
Default Style Properties
Style Type: Paragraph
Style Name: Title 1, Title 2
Property | Value |
|---|---|
font family | Arial |
font size | 24pt |
font weight | bold |
line height | 1.2em |
padding top | 0pt |
padding bottom | 12pt |
Default Style Options
Option | Value |
|---|---|
Table of Contents level | 1 |
If a custom style name is assigned to a Title, that style name will still inherit all of the listed default style information.