Highlight Shortcode

The highlight shortcode is used to emphasize text in a visually distinct, centered style.
It displays text in a larger font, with controlled width and spacing, making it ideal for quotes, headings, or important notices.


Usage

GO
1
2
3
    {{< highlight >}}
    This text will be highlighted in the center of the page with larger font size.
    {{< /highlight >}}

Parameters

ParameterRequiredDefaultDescription
Inner contentYes-The text or Markdown content to be highlighted
Table: Highlight Shortcode Parameters

Note: The shortcode does not take extra parameters. Styling is controlled via CSS inside the shortcode.


Examples

Basic Highlight

Important announcement: All students must submit their assignments by Friday.

Highlight with Markdown

Note: This is a critical update.
Please check your emails for details.

Multiple Highlights in a Page

First highlighted message

Some normal content in between.

Second highlighted message