Skip to main content
  1. Samples/

Rich Content

1 min· loading · loading · ·
shortcodes privacy sample gist twitter youtube vimeo
A powerful, lightweight theme for Hugo built with Tailwind CSS.
Table of Contents

Hugo ships with several built-in shortcodes for rich content, along with a privacy config and a set of simple shortcodes that enable static and no-JS versions of various social media embeds.


Below is an example using the built-in youtube shortcode.


This example uses the twitter_simple shortcode to output a Tweet. It requires two named parameters user and id.

Alternatively, the tweet shortcode can be used to embed a fully marked up Twitter card.


The gist shortcode can be used to embed a GitHub Gist. It requires two unnamed parameters: the username and ID of the Gist.


The vimeo_simple shortcode will embed a Vimeo video.

Sing Jan Swing - Kinetic Type


Mathematical notation
1 min· loading · loading
sample katex maths shortcodes
1 min· loading · loading
chart sample graph shortcodes
Diagrams and Flowcharts
2 mins· loading · loading
mermaid sample diagram shortcodes
Placeholder Text
·2 mins· loading · loading
markdown text sample latin
Emoji πŸͺ‚
1 min· loading · loading
emoji sample