--- title: Markdown weight: 2 --- Hugo supports [Markdown](https://en.wikipedia.org/wiki/Markdown) syntax for formatting text, creating lists, and more. This page will show you some of the most common Markdown syntax examples. ## Markdown Examples ### Styling Text | Style | Syntax | Example | Output | | -------- | -------- | ------ | ------ | | Bold | `**bold text**` | `**bold text**` | **bold text** | | Italic | `*italicized text*` | `*italicized text* | *italicized text* | | Strikethrough | `~~strikethrough text~~` | `~~strikethrough text~~` | ~~strikethrough text~~ | | Subscript | `` | `This is a subscript text` | This is a subscript text | | Superscript | `` | `This is a superscript text` | This is a superscript text | ### Blockquotes Blockquote with attribution > Don't communicate by sharing memory, share memory by communicating.
> — Rob Pike[^1] [^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015. ### Tables Tables aren't part of the core Markdown spec, but Hugo supports them out-of-the-box. Name | Age --------|------ Bob | 27 Alice | 23 #### Inline Markdown within tables | Italics | Bold | Code | | -------- | -------- | ------ | | *italics* | **bold** | `code` | ### Code Blocks {{< cards >}} {{< card link="../../guide/syntax-highlighting" title="Syntax Highlighting" icon="sparkles" >}} {{< /cards >}} ### Lists #### Ordered List 1. First item 2. Second item 3. Third item #### Unordered List * List item * Another item * And another item #### Nested list * Fruit * Apple * Orange * Banana * Dairy * Milk * Cheese ### Images ![](https://source.unsplash.com/featured/800x600?landscape) With caption: ![](https://source.unsplash.com/featured/800x600?landscape "Unsplash Landscape") ## Configuration Hugo uses [Goldmark](https://github.com/yuin/goldmark) for Markdown parsing. Markdown rendering can be configured in `hugo.yaml` under `markup.goldmark`. Below is the default configuration for Hextra: ```yaml {filename="hugo.yaml"} markup: goldmark: renderer: unsafe: true highlight: noClasses: false ``` For more configuration options, see Hugo documentation on [Configure Markup](https://gohugo.io/getting-started/configuration-markup/). ## Learning Resources * [Markdown Guide](https://www.markdownguide.org/) * [Markdown Cheatsheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) * [Markdown Tutorial](https://www.markdowntutorial.com/) * [Markdown Reference](https://commonmark.org/help/)