The lead shortcode can be used for adding a lead paragraph.
This paragraph stands out as it has slightly larger font than the other paragraphs.
The content is taken from the inner text or, if not inner text given, from the front-matter’s description.
syntax for inner text:
{{< lead >}}
My lead paragraph text...
{{< /lead >}}
syntax for front-matter description (using the self-closing syntax):
{{< lead />}}
Don’t forget the
/ for the self-closing syntax.Example using inner text:
{{< lead >}}
My lead paragraph text...
{{< /lead >}}
renders as:
My lead paragraph text...
Example using .description from front-matter:
{{< lead />}}
renders as:
For inserting a lead paragraph.