<!doctype html><htmllang=endir=auto><head><metacharset=utf-8><metahttp-equiv=x-ua-compatiblecontent="IE=edge"><metaname=viewportcontent="width=device-width,initial-scale=1,shrink-to-fit=no"><metaname=robotscontent="index, follow"><title>Markdown Syntax Guide | PaperMod</title><metaname=keywordscontent="markdown,css,html,themes"><metaname=descriptioncontent="Sample article showcasing basic Markdown syntax and formatting for HTML elements."><metaname=authorcontent="Hugo Authors"><linkrel=canonicalhref=https://adityatelange.github.io/hugo-PaperMod/posts/markdown-syntax/><linkhref=/hugo-PaperMod/assets/css/stylesheet.min.d85457619e67d31b97f40ed67c71b5efe0b52508ba759e5a9da0760afd6707db.cssintegrity="sha256-2FRXYZ5n0xuX9A7WfHG17+C1JQi6dZ5anaB2Cv1nB9s="rel="preload stylesheet"as=style><linkrel=iconhref=https://adityatelange.github.io/hugo-PaperMod/favicon.ico><linkrel=icontype=image/pngsizes=16x16href=https://adityatelange.github.io/hugo-PaperMod/favicon-16x16.png><linkrel=icontype=image/pngsizes=32x32href=https://adityatelange.github.io/hugo-PaperMod/favicon-32x32.png><linkrel=apple-touch-iconhref=https://adityatelange.github.io/hugo-PaperMod/apple-touch-icon.png><linkrel=mask-iconhref=https://adityatelange.github.io/hugo-PaperMod/safari-pinned-tab.svg><metaname=theme-colorcontent="#2e2e33"><metaname=msapplication-TileColorcontent="#2e2e33"><metaname=generatorcontent="Hugo 0.82.0"><linkrel=alternatehreflang=enhref=https://adityatelange.github.io/hugo-PaperMod/posts/markdown-syntax/><linkrel=alternatehreflang=frhref=https://adityatelange.github.io/hugo-PaperMod/fr/posts/markdown-syntax/><linkrel=alternatehreflang=fahref=https://adityatelange.github.io/hugo-PaperMod/fa/posts/markdown-syntax/><metaproperty="og:title"content="Markdown Syntax Guide"><metaproperty="og:description"content="Sample article showcasing basic Markdown syntax and formatting for HTML elements."><metaproperty="og:type"content="article"><metaproperty="og:url"content="https://adityatelange.github.io/hugo-PaperMod/posts/markdown-syntax/"><metaproperty="og:image"content="https://adityatelange.github.io/hugo-PaperMod/papermod-cover.png"><metaproperty="article:section"content="posts"><metaproperty="article:published_time"content="2019-03-11T00:00:00+00:00"><metaproperty="article:modified_time"content="2019-03-11T00:00:00+00:00"><metaname=twitter:cardcontent="summary_large_image"><metaname=twitter:imagecontent="https://adityatelange.github.io/hugo-PaperMod/papermod-cover.png"><metaname=twitter:titlecontent="Markdown Syntax Guide"><metaname=twitter:descriptioncontent="Sample article showcasing basic Markdown syntax and formatting for HTML elements."><scripttype=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Posts","item":"https://adityatelange.github.io/hugo-PaperMod/posts/"},{"@type":"ListItem","position":2,"name":"Markdown Syntax Guide","item":"https://adityatelange.github.io/hugo-PaperMod/posts/markdown-syntax/"}]}</script><scripttype=application/ld+json>{"@context":"https://schema.org","@type":"BlogPosting","headline":"MarkdownSyntaxGuide","name":"MarkdownSyntaxGuide","description":"SamplearticleshowcasingbasicMarkdownsyntaxandformattingforHTMLelements.","keywords":["markdown","css","html","themes"],"articleBody":"ThisarticleoffersasampleofbasicMarkdownsyntaxthatcanbeusedinHugocontentfiles,alsoitshowswhetherbasicHTMLelementsaredecoratedwithCSSinaHugotheme.\nHeadingsThefollowingHTML—elementsrepresentsixlevelsofsectionheadings.isthehighestsectionlevelwhileisthelowest.\nH1H2H3H4H5H6ParagraphXerum,quoquiautuntexpliquamquidolutlabo.Aquevenitatiusdacum,voluptionselatursitiaedolessiautparistautdolloenimquivoluptatemadolestenditperitinreplisautquasinctumlaceatestvolestemquecommosaascusendignatectur,offictocorsequasetumrerumidemsintibuseiur?Quianiminporecusevelectur,cumquenisnus
<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=:fr:aria-label=:fr:>🇫🇷</a></li><li><ahref=https://adityatelange.github.io/hugo-PaperMod/fa/title=Faaria-label=Fa>Fa</a></li></ul></span></div><ulid=menuonscroll=menu_on_scroll()><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></div></header><divclass=toc><detailsopen><summaryaccesskey=ctitle="(Alt + C)"><divclass=details>Table of Contents</div></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="Code block with Hugo&rsquo;s internal highlight shortcode">Code block with Hugo’s internal highlight shortcode</a></li><li><ahref=#gistaria-label=Gist>Gist</a></li></ul><
<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>
<span>Theme <ahref=https://git.io/hugopapermodrel=noopenertarget=_blank>PaperMod</a></span></footer><ahref=#toparia-label="go to top"title="Go to Top (Alt + G)"><buttonclass=top-linkid=top-linktype=buttonaccesskey=g><svgxmlns="http://www.w3.org/2000/svg"viewBox="0 0 12 6"fill="currentcolor"><pathd="M12 6H0l6-6z"/></svg></button></a>