<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"><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/><noscript><style>#theme-toggle,.top-link{display:none}</style><style>@media(prefers-color-scheme:dark){:root{--theme:rgb(29,30,32);--entry:rgb(46,46,51);--primary:rgb(218,218,219);--secondary:rgb(155,156,157);--tertiary:rgb(65,66,68);--content:rgb(196,196,197);--hljs-bg:rgb(46,46,51);--code-bg:rgb(55,56,62);--border:rgb(51,51,51)}.list{background:var(--theme)}.list:not(.dark)::-webkit-scrollbar-track{background:00}.list:not(.dark)::-webkit-scrollbar-thumb{border-color:var(--theme)}}</style></noscript><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,cumquenisnustvoloribusratemautomnimi,sitatur?Quiatem.Nam,omnissumamfaceacoremaliquemolestrunteteosevelecearcillitutauteoseosnus,sinconeceremerumfuga.Rioditatquam,adquibusundaveliamenimincusametfaceaipsamusesexerumsitatedoloreseditiumreroreeost,tempedmolorroratiaevolorrotereribusdolorersp
<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 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=inline-code>Inline Code<ahiddenclass=anchoraria-hidden=truehref=#inline-code>#</a></h4><p><code>This is Inline Code</code></p><h4id=only-pre>Only <code>pre</code><ahiddenclass=anchoraria-hidden=truehref=#only-pre>#</a></h4><pre>
</pre><h4id=code-block-with-backticks>Code block with backticks<ahiddenclass=anchoraria-hidden=truehref=#code-block-with-backticks>#</a></h4><pretabindex=0><code><!DOCTYPE html>
</code></pre><h4id=code-block-with-backticks-and-language-specified>Code block with backticks and language specified<ahiddenclass=anchoraria-hidden=truehref=#code-block-with-backticks-and-language-specified>#</a></h4><divclass=highlight><divclass=chroma><tableclass=lntable><tr><tdclass=lntd><pretabindex=0class=chroma><code><spanclass=lnt> 1
</span></span><spanclass=line><spanclass=cl><spanclass=p><</span><spanclass=nt>meta</span><spanclass=na>name</span><spanclass=o>=</span><spanclass=s>"description"</span><spanclass=na>content</span><spanclass=o>=</span><spanclass=s>"Sample article showcasing basic Markdown syntax and formatting for HTML elements."</span><spanclass=p>></span>
</span></span></code></pre></td></tr></table></div></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>
</span></span><spanclass=line><spanclass=cl><spanclass=p></</span><spanclass=nt>html</span><spanclass=p>></span></span></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><divclass=footnotesrole=doc-endnotes><hr><ol><liid=fn:1><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></div></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</span><br><span>Variables | Front Matter</span></a>