The text-font shortcode allows you to customize the font family and size of your text content.
Parameters
family - Font family to apply (optional)
size - Font size to apply (optional)
Example
HTML
1
2
3
{{< text-fontfamily="Georgia, serif"size="1.2em" >}}
This text will be displayed in Georgia font at 1.2em size.
{{< /text-font >}}
Centered
The centered shortcode centers text content horizontally.
Example
HTML
1
2
3
{{< centered >}}
This text will be centered on the page.
{{< /centered >}}
Right
The right shortcode aligns text content to the right.
Example
HTML
1
2
3
{{< right >}}
This text will be aligned to the right.
{{< /right >}}
Poem
The poem shortcode preserves line breaks and sets appropriate line height for poetry or verse content.
Example
HTML
1
2
3
4
5
6
7
{{< poem >}}
Two roads diverged in a yellow wood,
And sorry I could not travel both
And be one traveler, long I stood
And looked down one as far as I could
To where it bent in the undergrowth;
{{< /poem >}}