Icon Shortcode

Demonstration of the Paige icon shortcode.

icon Paige shortcodes web font

Will Faught

1 minute

Paige provides a paige/icon shortcode for displaying a web font icon.

Class parameter #

Code:

<p class="display-1">Icon: {{< paige/icon class="bi bi-github" >}}</p>

Result:

Icon:

Title parameter #

Code:

<p class="display-1">Icon: {{< paige/icon class="bi bi-github" title="GitHub" >}}</p>

Result:

Icon: GitHub

Url parameter #

Code:

<p class="display-1">Icon: {{< paige/icon class="bi bi-github" url="https://github.com/willfaught/paige" >}}</p>

Result:

Icon: