summaryrefslogtreecommitdiff
path: root/public/markdown-syntax-guide/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'public/markdown-syntax-guide/index.html')
-rw-r--r--public/markdown-syntax-guide/index.html393
1 files changed, 393 insertions, 0 deletions
diff --git a/public/markdown-syntax-guide/index.html b/public/markdown-syntax-guide/index.html
new file mode 100644
index 0000000..2206360
--- /dev/null
+++ b/public/markdown-syntax-guide/index.html
@@ -0,0 +1,393 @@
+<!DOCTYPE html>
+<html lang="en-US">
+
+<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
+ <meta http-equiv="X-Clacks-Overhead" content="GNU Terry Pratchett" />
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+<link rel="shortcut icon" href="http://localhost:1313/images/favicon.png" />
+<title>Markdown Syntax Guide | Hugo ʕ•ᴥ•ʔ Bear Blog</title>
+<meta name="title" content="Markdown Syntax Guide" />
+<meta name="description" content="Sample article showcasing basic Markdown syntax and formatting for HTML elements." />
+<meta name="keywords" content="markdown,syntax," />
+
+
+<meta property="og:url" content="http://localhost:1313/markdown-syntax-guide/">
+ <meta property="og:site_name" content="Hugo ʕ•ᴥ•ʔ Bear Blog">
+ <meta property="og:title" content="Markdown Syntax Guide">
+ <meta property="og:description" content="Sample article showcasing basic Markdown syntax and formatting for HTML elements.">
+ <meta property="og:locale" content="en_US">
+ <meta property="og:type" content="article">
+ <meta property="article:section" content="blog">
+ <meta property="article:published_time" content="2020-01-03T00:00:00+00:00">
+ <meta property="article:modified_time" content="2020-01-03T00:00:00+00:00">
+ <meta property="article:tag" content="Markdown">
+ <meta property="article:tag" content="Syntax">
+ <meta property="og:image" content="http://localhost:1313/images/share.png">
+
+
+
+
+ <meta name="twitter:card" content="summary_large_image">
+ <meta name="twitter:image" content="http://localhost:1313/images/share.png">
+ <meta name="twitter:title" content="Markdown Syntax Guide">
+ <meta name="twitter:description" content="Sample article showcasing basic Markdown syntax and formatting for HTML elements.">
+
+
+
+
+ <meta itemprop="name" content="Markdown Syntax Guide">
+ <meta itemprop="description" content="Sample article showcasing basic Markdown syntax and formatting for HTML elements.">
+ <meta itemprop="datePublished" content="2020-01-03T00:00:00+00:00">
+ <meta itemprop="dateModified" content="2020-01-03T00:00:00+00:00">
+ <meta itemprop="wordCount" content="378">
+ <meta itemprop="image" content="http://localhost:1313/images/share.png">
+ <meta itemprop="keywords" content="Markdown,Syntax">
+<meta name="referrer" content="no-referrer-when-downgrade" />
+
+ <style>
+ :root {
+ --width: 720px;
+ --font-main: Verdana, sans-serif;
+ --font-secondary: Verdana, sans-serif;
+ --font-scale: 1em;
+ --background-color: #fff;
+ --heading-color: #222;
+ --text-color: #444;
+ --link-color: #3273dc;
+ --visited-color: #8b6fcb;
+ --blockquote-color: #222;
+ }
+
+ @media (prefers-color-scheme: dark) {
+ :root {
+ --background-color: #01242e;
+ --heading-color: #eee;
+ --text-color: #ddd;
+ --link-color: #8cc2dd;
+ --visited-color: #8b6fcb;
+ --blockquote-color: #ccc;
+ }
+ }
+
+ body {
+ font-family: var(--font-secondary);
+ font-size: var(--font-scale);
+ margin: auto;
+ padding: 20px;
+ max-width: var(--width);
+ text-align: left;
+ background-color: var(--background-color);
+ word-wrap: break-word;
+ overflow-wrap: break-word;
+ line-height: 1.5;
+ color: var(--text-color);
+ }
+
+ h1,
+ h2,
+ h3,
+ h4,
+ h5,
+ h6 {
+ font-family: var(--font-main);
+ color: var(--heading-color);
+ }
+
+ a {
+ color: var(--link-color);
+ cursor: pointer;
+ text-decoration: none;
+ }
+
+ a:hover {
+ text-decoration: underline;
+ }
+
+ nav a {
+ margin-right: 8px;
+ }
+
+ strong,
+ b {
+ color: var(--heading-color);
+ }
+
+ button {
+ margin: 0;
+ cursor: pointer;
+ }
+
+ time {
+ font-family: monospace;
+ font-style: normal;
+ font-size: 15px;
+ }
+
+ main {
+ line-height: 1.6;
+ }
+
+ table {
+ width: 100%;
+ }
+
+ hr {
+ border: 0;
+ border-top: 1px dashed;
+ }
+
+ img {
+ max-width: 100%;
+ }
+
+ code {
+ font-family: monospace;
+ padding: 2px;
+ border-radius: 3px;
+ }
+
+ blockquote {
+ border-left: 1px solid #999;
+ color: var(--blockquote-color);
+ padding-left: 20px;
+ font-style: italic;
+ }
+
+ footer {
+ padding: 25px 0;
+ text-align: center;
+ }
+
+ .title:hover {
+ text-decoration: none;
+ }
+
+ .title h1 {
+ font-size: 1.5em;
+ }
+
+ .inline {
+ width: auto !important;
+ }
+
+ .highlight,
+ .code {
+ border-radius: 3px;
+ margin-block-start: 1em;
+ margin-block-end: 1em;
+ overflow-x: auto;
+ }
+
+ .highlight pre,
+ .code pre {
+ min-width: 100%;
+ width: max-content;
+ }
+
+
+ ul.blog-posts {
+ list-style-type: none;
+ padding: unset;
+ }
+
+ ul.blog-posts li {
+ display: flex;
+ }
+
+ ul.blog-posts li span {
+ flex: 0 0 130px;
+ }
+
+ ul.blog-posts li a:visited {
+ color: var(--visited-color);
+ }
+
+</style>
+
+<link rel="stylesheet" href="/css/custom.css">
+
+<link rel="preconnect" href="https://fonts.googleapis.com">
+<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
+<link
+ href="https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap"
+ rel="stylesheet">
+</head>
+
+<body>
+ <header><a href="/" class="title">
+ <h2>Hugo ʕ•ᴥ•ʔ Bear Blog</h2>
+</a>
+<nav>
+<a href="/">Home</a>
+
+<a href="/about/">About</a>
+
+<a href="/blog/">Blog</a>
+
+<a href="/uses/">Uses</a>
+
+<a href="/now/">Now</a>
+
+<a href="/projects/">Projects</a>
+
+</nav>
+</header>
+ <main>
+
+<h1>Markdown Syntax Guide</h1>
+<p>
+ <i>
+ <time datetime='2020-01-03'>
+ 03 Jan, 2020
+ </time>
+ </i>
+</p>
+
+<content>
+ <p>For a quick cheatsheet, check out <a href="https://simplemde.com/markdown-guide">https://simplemde.com/markdown-guide</a>.</p>
+<hr>
+<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>
+<h2 id="headings">Headings</h2>
+<p>The following HTML <code>&lt;h1&gt;</code>—<code>&lt;h6&gt;</code> elements represent six levels of section headings. <code>&lt;h1&gt;</code> is the highest section level while <code>&lt;h6&gt;</code> is the lowest.</p>
+<h1 id="h1">H1</h1>
+<h2 id="h2">H2</h2>
+<h3 id="h3">H3</h3>
+<h4 id="h4">H4</h4>
+<h5 id="h5">H5</h5>
+<h6 id="h6">H6</h6>
+<h2 id="paragraph">Paragraph</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 sperchicium faceata tiustia prat.</p>
+<p>Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.</p>
+<h2 id="blockquotes">Blockquotes</h2>
+<p>The blockquote element represents content that is quoted from another source.</p>
+<h4 id="blockquote-without-attribution">Blockquote without attribution</h4>
+<blockquote>
+<p>Tiam, ad mint andaepu dandae nostion secatur sequo quae.</p>
+<p><strong>Note</strong> that you can use <em>Markdown syntax</em> within a blockquote.</p>
+</blockquote>
+<h4 id="blockquote-with-attribution">Blockquote with attribution</h4>
+<blockquote>
+<p>Don&rsquo;t communicate by sharing memory, share memory by communicating.</p>
+<p>— Rob Pike<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup></p>
+</blockquote>
+<h2 id="tables">Tables</h2>
+<p>Tables aren&rsquo;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>
+<h4 id="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>
+<h2 id="code-blocks">Code Blocks</h2>
+<h4 id="code-block-with-backticks">Code block with backticks</h4>
+<div class="highlight"><pre tabindex="0" style="background-color:#f0f0f0;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-html" data-lang="html"><span style="display:flex;"><span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 1</span><span><span style="color:#007020">&lt;!doctype html&gt;</span>
+</span></span><span style="display:flex;"><span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 2</span><span>&lt;<span style="color:#062873;font-weight:bold">html</span> <span style="color:#4070a0">lang</span><span style="color:#666">=</span><span style="color:#4070a0">&#34;en&#34;</span>&gt;
+</span></span><span style="display:flex;"><span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 3</span><span>&lt;<span style="color:#062873;font-weight:bold">head</span>&gt;
+</span></span><span style="display:flex;"><span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 4</span><span> &lt;<span style="color:#062873;font-weight:bold">meta</span> <span style="color:#4070a0">charset</span><span style="color:#666">=</span><span style="color:#4070a0">&#34;utf-8&#34;</span>&gt;
+</span></span><span style="display:flex;"><span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 5</span><span> &lt;<span style="color:#062873;font-weight:bold">title</span>&gt;Example HTML5 Document&lt;/<span style="color:#062873;font-weight:bold">title</span>&gt;
+</span></span><span style="display:flex;"><span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 6</span><span>&lt;/<span style="color:#062873;font-weight:bold">head</span>&gt;
+</span></span><span style="display:flex;"><span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 7</span><span>&lt;<span style="color:#062873;font-weight:bold">body</span>&gt;
+</span></span><span style="display:flex;"><span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 8</span><span> &lt;<span style="color:#062873;font-weight:bold">p</span>&gt;Test&lt;/<span style="color:#062873;font-weight:bold">p</span>&gt;
+</span></span><span style="display:flex;"><span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 9</span><span>&lt;/<span style="color:#062873;font-weight:bold">body</span>&gt;
+</span></span><span style="display:flex;"><span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">10</span><span>&lt;/<span style="color:#062873;font-weight:bold">html</span>&gt;
+</span></span></code></pre></div><h4 id="code-block-indented-with-four-spaces">Code block indented with four spaces</h4>
+<pre><code>&lt;!doctype html&gt;
+&lt;html lang=&quot;en&quot;&gt;
+&lt;head&gt;
+ &lt;meta charset=&quot;utf-8&quot;&gt;
+ &lt;title&gt;Example HTML5 Document&lt;/title&gt;
+&lt;/head&gt;
+&lt;body&gt;
+ &lt;p&gt;Test&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
+</code></pre>
+<h4 id="code-block-with-hugos-internal-highlight-shortcode">Code block with Hugo&rsquo;s internal highlight shortcode</h4>
+<div class="highlight"><pre tabindex="0" style="background-color:#f0f0f0;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-typescript" data-lang="typescript"><span style="display:flex;"><span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1</span><span>console.log(<span style="color:#4070a0">&#34;hola&#34;</span>)</span></span></code></pre></div>
+<h2 id="list-types">List Types</h2>
+<h4 id="ordered-list">Ordered List</h4>
+<ol>
+<li>First item</li>
+<li>Second item</li>
+<li>Third item</li>
+</ol>
+<h4 id="unordered-list">Unordered List</h4>
+<ul>
+<li>List item</li>
+<li>Another item</li>
+<li>And another item</li>
+</ul>
+<h4 id="nested-list">Nested list</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>
+<div class="footnotes" role="doc-endnotes">
+<hr>
+<ol>
+<li id="fn:1">
+<p>The above quote is excerpted from Rob Pike&rsquo;s <a href="https://www.youtube.com/watch?v=PAAkCSZUG1c">talk</a> during Gopherfest, November 18, 2015.&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
+</li>
+</ol>
+</div>
+</content>
+
+
+
+<p>
+
+ <a href="http://localhost:1313/blog/markdown/">#Markdown</a>
+
+ <a href="http://localhost:1313/blog/syntax/">#Syntax</a>
+
+</p>
+
+ </main>
+ <footer>Made with <a href="https://github.com/janraasch/hugo-bearblog/">Hugo ʕ•ᴥ•ʔ Bear</a>
+</footer>
+
+
+</body>
+
+</html>