Hugo is a popular static site generator written in the Go programming language. Hugo is jam-packed with features, but one of its main selling points is speed — Hugo takes mere seconds to generate a site with thousands of pages. Smashing Magazine recently switched to Hugo from WordPress.
Hugo has excellent Markdown support out of the box. By default, Hugo uses the Goldmark Markdown processor which is fully CommonMark-compliant. See the configuration instructions to learn more about the extensions you can configure. You can change Hugo’s Goldmark settings in the
config.toml file, as shown below.
baseURL = "http://mysite.org/" languageCode = "en-us" title = "My Site" theme = "ananke" [markup] taskLists = false
Hugo provides support for the following Markdown elements.
|Fenced Code Blocks||Yes|
|Emoji (copy and paste)||Unknown|
|Automatic URL Linking||Yes|
|Disabling Automatic URL Linking||Yes|
|HTML||Yes||Disabled by default if you’re using Goldmark. To enable, set the
Learn Markdown in 60 pages. Designed for both novices and experts, The Markdown Guide book is a comprehensive reference that has everything you need to get started and master Markdown syntax.Get the Book
Don't stop now! 😎 Star the GitHub repository and then enter your email address below to receive new Markdown tutorials via email. No spam!