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
-
Clickable buttons
-
Show content in a card
-
Show content in a set of cards
-
List the child pages of a page
-
Expandable/collapsible sections of text
-
Render code with a syntax highlighter
-
Nice icons for your page
-
Displays content from other files
-
Beautiful math and chemical formulae
-
Generate diagrams and flowcharts from text
-
Boxes to help you structure your page
-
UI for your OpenAPI / Swagger specifications
-
List resources contained in a page bundle
-
Get value of site params
-
Show content in a single tab
-
Show content in tabbed views
-
Display a list as a tree