<spanclass=logo-switches><buttonid=theme-toggleaccesskey=ttitle="(Alt + T)"><svgid="moon"xmlns="http://www.w3.org/2000/svg"width="24"height="24"viewBox="0 0 24 24"fill="none"stroke="currentcolor"stroke-width="2"stroke-linecap="round"stroke-linejoin="round"><pathd="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"/></svg><svgid="sun"xmlns="http://www.w3.org/2000/svg"width="24"height="24"viewBox="0 0 24 24"fill="none"stroke="currentcolor"stroke-width="2"stroke-linecap="round"stroke-linejoin="round"><circlecx="12"cy="12"r="5"/><linex1="12"y1="1"x2="12"y2="3"/><linex1="12"y1="21"x2="12"y2="23"/><linex1="4.22"y1="4.22"x2="5.64"y2="5.64"/><linex1="18.36"y1="18.36"x2="19.78"y2="19.78"/><linex1="1"y1="12"x2="3"y2="12"/><linex1="21"y1="12"x2="23"y2="12"/><linex1="4.22"y1="19.78"x2="5.64"y2="18.36"/><linex1="18.36"y1="5.64"x2="19.78"y2="4.22"/></svg></button><ulclass=lang-switch><li>|</li><li><ahref=https://adityatelange.github.io/hugo-PaperMod/fr/title=Frencharia-label=:fr:>🇫🇷</a></li><li><ahref=https://adityatelange.github.io/hugo-PaperMod/fa/title=Faaria-label=Fa>Fa</a></li></ul></span></div><ulid=menu><li><ahref=https://adityatelange.github.io/hugo-PaperMod/archivestitle=Archive><span>Archive</span></a></li><li><ahref=https://adityatelange.github.io/hugo-PaperMod/categories/title=Categories><span>Categories</span></a></li><li><ahref=https://adityatelange.github.io/hugo-PaperMod/search/title="Search (Alt + /)"accesskey=/><span>Search</span></a></li><li><ahref=https://adityatelange.github.io/hugo-PaperMod/tags/title=Tags><span>Tags</span></a></li></ul></nav></header><mainclass=main><articleclass=post-single><headerclass=post-header><divclass=breadcrumbs><ahref=https://adityatelange.github.io/hugo-PaperMod/>Home</a> » <ahref=https://adityatelange.github.io/hugo-PaperMod/posts/>Posts</a></div><h1class=post-title>Markdown Syntax Guide</h1><divclass=post-description>Sample article showcasing basic Markdown syntax and formatting for HTML elements.</div><divclass=post-meta>March 11, 2019 · 3 min · Hugo Authors | <ulclass=i18n_list>Translations:<li><ahref=https://adityatelange.github.io/hugo-PaperMod/fr/posts/markdown-syntax/>🇫🇷</a></li><li><ahref=https://adityatelange.github.io/hugo-PaperMod/fa/posts/markdown-syntax/>Fa</a></li></ul> | <ahref=https://github.com/adityatelange/hugo-PaperMod/tree/exampleSite/content/posts/markdown-syntax.mdrel="noopener noreferrer"target=_blank>Suggest Changes</a></div></header><divclass=toc><detailsopen><summaryaccesskey=ctitle="(Alt + C)"><spanclass=details>Table of Contents</span></summary><divclass=inner><ul><ul><li><ahref=#headingsaria-label=Headings>Headings</a></li></ul><li><ahref=#h1aria-label=H1>H1</a><ul><li><ahref=#h2aria-label=H2>H2</a><ul><li><ahref=#h3aria-label=H3>H3</a><ul><li><ahref=#h4aria-label=H4>H4</a><ul><li><ahref=#h5aria-label=H5>H5</a><ul><li><ahref=#h6aria-label=H6>H6</a></li></ul></li></ul></li></ul></li></ul></li><li><ahref=#paragrapharia-label=Paragraph>Paragraph</a></li><li><ahref=#blockquotesaria-label=Blockquotes>Blockquotes</a><ul><ul><li><ahref=#blockquote-without-attributionaria-label="Blockquote without attribution">Blockquote without attribution</a></li><li><ahref=#blockquote-with-attributionaria-label="Blockquote with attribution">Blockquote with attribution</a></li></ul></ul></li><li><ahref=#tablesaria-label=Tables>Tables</a><ul><ul><li><ahref=#inline-markdown-within-tablesaria-label="Inline Markdown within tables">Inline Markdown within tables</a></li></ul></ul></li><li><ahref=#code-blocksaria-label="Code Blocks">Code Blocks</a><ul><ul><li><ahref=#code-block-with-backticksaria-label="Code block with backticks">Code block with backticks</a></li><li><ahref=#code-block-indented-with-four-spacesaria-label="Code block indented with four spaces">Code block indented with four spaces</a></li><li><ahref=#code-block-with-hugos-internal-highlight-shortcodearia-label="CodeblockwithHug
<strong>Note</strong> that you can use <em>Markdown syntax</em> within a blockquote.</p></blockquote><h4id=blockquote-with-attribution>Blockquote with attribution<ahiddenclass=anchoraria-hidden=truehref=#blockquote-with-attribution>#</a></h4><blockquote><p>Don’t communicate by sharing memory, share memory by communicating.</p><p>— <cite>Rob Pike<supid=fnref:1><ahref=#fn:1class=footnote-refrole=doc-noteref>1</a></sup></cite></p></blockquote><h2id=tables>Tables<ahiddenclass=anchoraria-hidden=truehref=#tables>#</a></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<ahiddenclass=anchoraria-hidden=truehref=#inline-markdown-within-tables>#</a></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<ahiddenclass=anchoraria-hidden=truehref=#code-blocks>#</a></h2><h4id=code-block-with-backticks>Code block with backticks<ahiddenclass=anchoraria-hidden=truehref=#code-block-with-backticks>#</a></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>
</code></pre></div><h4id=code-block-indented-with-four-spaces>Code block indented with four spaces<ahiddenclass=anchoraria-hidden=truehref=#code-block-indented-with-four-spaces>#</a></h4><pre><code><!doctype html>
</<spanstyle=color:#f92672>html</span>></code></pre></div><h4id=gist>Gist<ahiddenclass=anchoraria-hidden=truehref=#gist>#</a></h4><scripttype=application/javascriptsrc=https://gist.github.com/spf13/7896402.js></script><h2id=list-types>List Types<ahiddenclass=anchoraria-hidden=truehref=#list-types>#</a></h2><h4id=ordered-list>Ordered List<ahiddenclass=anchoraria-hidden=truehref=#ordered-list>#</a></h4><ol><li>First item</li><li>Second item</li><li>Third item</li></ol><h4id=unordered-list>Unordered List<ahiddenclass=anchoraria-hidden=truehref=#unordered-list>#</a></h4><ul><li>List item</li><li>Another item</li><li>And another item</li></ul><h4id=nested-list>Nested list<ahiddenclass=anchoraria-hidden=truehref=#nested-list>#</a></h4><ul><li>Fruit<ul><li>Apple</li><li>Orange</li><li>Banana</li></ul></li><li>Dairy<ul><li>Milk</li><li>Cheese</li></ul></li></ul><h2id=other-elements--abbr-sub-sup-kbd-mark>Other Elements — abbr, sub, sup, kbd, mark<ahiddenclass=anchoraria-hidden=truehref=#other-elements--abbr-sub-sup-kbd-mark>#</a></h2><p><abbrtitle="Graphics Interchange Format">GIF</abbr> is a bitmap image format.</p><p>H<sub>2</sub>O</p><p>X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup></p><p>Press <kbd><kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>Delete</kbd></kbd> to end the session.</p><p>Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures.</p><sectionclass=footnotesrole=doc-endnotes><hr><ol><liid=fn:1role=doc-endnote><p>The above quote is excerpted from Rob Pike’s <ahref="https://www.youtube.com/watch?v=PAAkCSZUG1c">talk</a> during Gopherfest, November 18, 2015. <ahref=#fnref:1class=footnote-backrefrole=doc-backlink>↩︎</a></p></li></ol></section></div><footerclass=post-footer><ulclass=post-tags><li><ahref=https://adityatelange.github.io/hugo-PaperMod/tags/markdown/>markdown</a></li><li><ahref=https://adityatelange.github.io/hugo-PaperMod/tags/css/>css</a></li><li><ahref=https://adityatelange.github.io/hugo-PaperMod/tags/html/>html</a></li><li><ahref=https://adityatelange.github.io/hugo-PaperMod/tags/themes/>themes</a></li></ul><navclass=paginav><aclass=prevhref=https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-variables/><spanclass=title>« Prev Page</span><br><span>Variables | Front Matter</span></a>