menu

Hugo

Hugo is a super fast static website generator developed with the programming language GO.

Overview

Hugo is a powerful tool that offers incredible speed to build website.

To have an idea of ​​its power, Hugo can process a website with thousands of pages in seconds.

Companies like Smashing Magazine switched from the highly acclaimed WordPress to Hugo, given its ability to generate websites.

Hugo uses the Goldmark Markdown processor, which is fully compatible with the CommonMark specification, so the application Markdown support is excellent.

The processor used by Hugo, Goldmark, has a file called config.toml that allows you to configure the tool.

Here is an example of the configuration file:

baseURL = "http://meusite.org/"
languageCode = "en"
title = "My site"
theme = "ananke"

[markup]
taskLists = false

You can visit the Hugo official website by clicking here.

See also the setup instructions and see which extensions are configurable in Goldmark.

Hugo Markdown Support

In Table 1.1 you have a list of Markdown elements compatible with Hugo.

Element Support Information
Titles Yes
Paragraphs Yes
Line breaks Yes
Bold Yes
Italic Yes
Blockquote Yes
Ordered lists Yes
Unordered lists Yes
Code Yes
Horizontal lines Yes
Links Yes
Images Yes
Tables Yes
Fenced code blocks Yes Hugo allows you to highlight the syntax of the code block content based on the programming language.
Footnotes Yes
Title Id Yes
Definition lists Yes
Strikethrough Yes
Task lists Yes
Emoji (copy and paste) Unknown
Emoji (access codes) Yes
automatic URL Link Yes
Disable automatic link from URL Yes
HTML Yes

See also

Content formats supported in Hugo

Goldmark repository on GitHub