Chapter 4

Shortcodes

Hugo uses Markdown as its content format. However, there are a lot of things that Markdown doesn’t support well. To overcome those limitations, Hugo created the concept of shortcodes.

On top of Hugo’s built-in shortcodes the Relearn theme supplies the following additional shortcodes.

  • Marker badges to display in your text

  • Show content in a set of cards

  • Expandable/collapsible sections of text

  • Nice icons for your page

  • Beautiful math and chemical formulae

  • Generate diagrams and flowcharts from text

  • Boxes to help you structure your page

  • UI for your OpenAPI / Swagger specifications

  • Show content in a single tab

  • Show content in tabbed views

  • Display a list as a tree