<!doctype html><htmllang=l2dir=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 For L2 | PaperModL2</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/l2/posts/markdown-syntax/><linkhref=https://adityatelange.github.io/hugo-PaperMod/assets/css/stylesheet.min.b6e4fb9d9486ee9750cbbe1b4e388ff4332a2d1e0d17ab3592ecb6c6f7ba1157.cssintegrity="sha256-tuT7nZSG7pdQy74bTjiP9DMqLR4NF6s1kuy2xve6EVc="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.79.1"><linkrel=alternatehreflang=enhref=https://adityatelange.github.io/hugo-PaperMod/posts/markdown-syntax/><linkrel=alternatehreflang=l3href=https://adityatelange.github.io/hugo-PaperMod/l3/posts/markdown-syntax/><metaproperty="og:title"content="Markdown Syntax Guide For L2"><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/l2/posts/markdown-syntax/"><metaproperty="article:published_time"content="2019-03-11T00:00:00+00:00"><metaproperty="article:modified_time"content="2019-03-11T00:00:00+00:00"><metaproperty="og:site_name"content="PaperModL2"><metaname=twitter:cardcontent="summary"><metaname=twitter:titlecontent="Markdown Syntax Guide For L2"><metaname=twitter:descriptioncontent="Sample article showcasing basic Markdown syntax and formatting for HTML elements."><scripttype=application/ld+json>{"@context":"https://schema.org","@type":"BlogPosting","headline":"MarkdownSyntaxGuideForL2","name":"MarkdownSyntaxGuideForL2","description":"ThisarticleoffersasampleofbasicMarkdownsyntaxthatcanbeusedinHugocontentfiles,alsoitshowswhetherbasicHTMLelementsaredecoratedwithCSSinaHugotheme.\n","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,tempedmolorroratiaevolorrotereribusdolorersperchiciumfaceatatiustiaprat.\nItatur?Quiataecullecumrementautodisinreeossequodinonsequidebisnesapiciaissinvelisquiatum,coreetqueauthariosamexeat.\nBlockquotesTheblockqu
| <ulclass=i18n_list>Translations:<li><ahref=https://adityatelange.github.io/hugo-PaperMod/posts/markdown-syntax/>English</a></li><li><ahref=https://adityatelange.github.io/hugo-PaperMod/l3/posts/markdown-syntax/>Langrtl</a></li></ul></div></header><divclass=toc><detailsopen><summaryaccesskey=ctitle="(Alt + C)"><divclass=details>Table of Contents</div></summary><blockquote><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></ul></ul></li><li><ahref=#list-typesaria-label="List Types">List Types</a><ul><ul><li><ahref=#ordered-listaria-label="Ordered List">Ordered List</a></li><li><ahref=#unordered-listaria-label="Unordered List">Unordered List</a></li><li><ahref=#nested-listaria-label="Nested list">Nested list</a></li></ul></ul></li><li><ahref=#other-elements--abbr-sub-sup-kbd-markaria-label="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<ahiddenclass=anchoraria-hidden=truehref=#headings>#</a></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<ahiddenclass=anchoraria-hidden=truehref=#h1>#</a></h1><h2id=h2>H2<ahiddenclass=anchoraria-hidden=truehref=#h2>#</a></h2><h3id=h3>H3<ahiddenclass=anchoraria-hidden=truehref=#h3>#</a></h3><h4id=h4>H4<ahiddenclass=anchoraria-hidden=truehref=#h4>#</a></h4><h5id=h5>H5<ahiddenclass=anchoraria-hidden=truehref=#h5>#</a></h5><h6id=h6>H6<ahiddenclass=anchoraria-hidden=truehref=#h6>#</a></h6><h2id=paragraph>Paragraph<ahiddenclass=anchoraria-hidden=truehref=#paragraph>#</a></h2><p>Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer s
<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.
— Rob Pike<supid=fnref:1><ahref=#fn:1class=footnote-refrole=doc-noteref>1</a></sup></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>
<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"><pathd="M12 6H0l6-6z"/></svg></button></a>