<!doctype html><htmllang=en><head><metacharset=utf-8><metahttp-equiv=x-ua-compatiblecontent="IE=edge"><metaname=viewportcontent="width=device-width,initial-scale=1,shrink-to-fit=no"><title>Markdown Syntax Guide - PaperMod</title><metaname=descriptioncontent="This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme."><metaname=keywordscontent="/"><metaname=authorcontent="Hugo Authors"><linkrel=canonicalhref=https://adityatelange.github.io/hugo-PaperMod/posts/markdown-syntax/><linkhref=https://adityatelange.github.io/hugo-PaperMod/assets/css/stylesheet.min.511ea9c64ab64e8fa908d0df9fb0698db51776924a1b4fa703c989798dfadabd.cssintegrity="sha256-UR6pxkq2To+pCNDfn7BpjbUXdpJKG0+nA8mJeY362r0="rel="preload stylesheet"as=style><linkrel=apple-touch-iconhref=https://adityatelange.github.io/hugo-PaperMod/apple-touch-icon.png><linkrel=iconhref=https://adityatelange.github.io/hugo-PaperMod/favicon.ico><metaname=generatorcontent="Hugo 0.75.1"></head><bodyclass=singleid=top><script>if(window.matchMedia('(prefers-color-scheme: dark)').matches){document.body.classList.add('dark');}</script><headerclass=header><navclass=nav><pclass=logo><ahref=https://adityatelange.github.io/hugo-PaperMod/>PaperMod</a></p><ulclass=menuid=menuonscroll=menu_on_scroll()><li><ahref=https://adityatelange.github.io/hugo-PaperMod/archives/><span>Archives</span></a></li><li><ahref=https://adityatelange.github.io/hugo-PaperMod/tags/><span>Tags</span></a></li><li><ahref=https://adityatelange.github.io/hugo-PaperMod/series/><span>Series</span></a></li></ul></nav></header><mainclass=main><articleclass=post-single><headerclass=post-header><h1class=post-title>Markdown Syntax Guide</h1><divclass=post-meta><time>March 11, 2019</time> · 3 min · Hugo Authors</div></header><divclass=toc><detailsopen><summary><divclass=details>Table of Contents</div></summary><blockquote><ul><ul><li><ahref=#headings>Headings</a></li></ul><li><ahref=#h1>H1</a><ul><li><ahref=#h2>H2</a><ul><li><ahref=#h3>H3</a><ul><li><ahref=#h4>H4</a><ul><li><ahref=#h5>H5</a><ul><li><ahref=#h6>H6</a></li></ul></li></ul></li></ul></li></ul></li><li><ahref=#paragraph>Paragraph</a></li><li><ahref=#blockquotes>Blockquotes</a><ul><ul><li><ahref=#blockquote-without-attribution>Blockquote without attribution</a></li><li><ahref=#blockquote-with-attribution>Blockquote with attribution</a></li></ul></ul></li><li><ahref=#tables>Tables</a><ul><ul><li><ahref=#inline-markdown-within-tables>Inline Markdown within tables</a></li></ul></ul></li><li><ahref=#code-blocks>Code Blocks</a><ul><ul><li><ahref=#code-block-with-backticks>Code block with backticks</a></li><li><ahref=#code-block-indented-with-four-spaces>Code block indented with four spaces</a></li><li><ahref=#code-block-with-hugos-internal-highlight-shortcode>Code block with Hugo’s internal highlight shortcode</a></li></ul></ul></li><li><ahref=#list-types>List Types</a><ul><ul><li><ahref=#ordered-list>Ordered List</a></li><li><ahref=#unordered-list>Unordered List</a></li><li><ahref=#nested-list>Nested list</a></li></ul></ul></li><li><ahref=#other-elements--abbr-sub-sup-kbd-mark>Other Elements — abbr, sub, sup, kbd, mark</a></li></ul></li></ul></blockquote></details></div><divclass=post-content><p>This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.</p><h2id=headings>Headings</h2><p>The following HTML <code><h1></code>—<code><h6></code> elements represent six levels of section headings. <code><h1></code> is the highest section level while <code><h6></code> is the lowest.</p><h1id=h1>H1</h1><h2id=h2>H2</h2><h3id=h3>H3</h3><h4id=h4>H4</h4><h5id=h5>H5</h5><h6id=h6>H6</h6><h2id=paragraph>Paragraph</h2><p>Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dol
<strong>Note</strong> that you can use <em>Markdown syntax</em> within a blockquote.</p></blockquote><h4id=blockquote-with-attribution>Blockquote with attribution</h4><blockquote><p>Don’t communicate by sharing memory, share memory by communicating.
— Rob Pike<supid=fnref:1><ahref=#fn:1class=footnote-refrole=doc-noteref>1</a></sup></p></blockquote><h2id=tables>Tables</h2><p>Tables aren’t part of the core Markdown spec, but Hugo supports supports them out-of-the-box.</p><table><thead><tr><th>Name</th><th>Age</th></tr></thead><tbody><tr><td>Bob</td><td>27</td></tr><tr><td>Alice</td><td>23</td></tr></tbody></table><h4id=inline-markdown-within-tables>Inline Markdown within tables</h4><table><thead><tr><th>Italics</th><th>Bold</th><th>Code</th></tr></thead><tbody><tr><td><em>italics</em></td><td><strong>bold</strong></td><td><code>code</code></td></tr></tbody></table><h2id=code-blocks>Code Blocks</h2><h4id=code-block-with-backticks>Code block with backticks</h4><divclass=highlight><prestyle=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><codeclass=language-htmldata-lang=html><spanstyle=color:#75715e><!doctype html></span>
<span>Theme️<ahref=https://git.io/hugopapermodrel=noopenertarget=_blank>PaperMod</a></span></footer><ahref=#toparia-label="go to top"title="Go to Top"><buttonclass=top-linkid=top-linktype=button><svgxmlns="http://www.w3.org/2000/svg"viewBox="0 0 12 6"><pathd="M12 6H0l6-6z"/></svg></button></a>