Blogs

Render Math With Mathjax

Mathjax

Math equations can be rendered using Mathjax syntax with AMS symbol support.

Optionally enable this on a per-page basis by adding mathjax: true to your frontmatter.

Then, use $$ ... $$ on a line by itself to render a block equation:

$$ | Pr_{x \leftarrow P_{1}} [A(x) = 1] - Pr_{x \leftarrow …

Emoji Support

Emoji can be enabled in a Hugo project in a number of ways. :zap:

Emoji Support

The emojify function can be called directly in templates or Inline Shortcodes.

To enable emoji globally, set enableEmoji to true in your site’s configuration and then you can type emoji shorthand codes directly in …

Rich Content

Hugo ships with several Embedded 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.

X Simple Shortcode

{{< tweet user="GoHugoIO" id="1315233626070503424" >}}