<!DOCTYPE html>
|
<html lang="en-us">
|
<head><meta charset="utf-8">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<title>Ticky Tacky Dark - Markdown Syntax Guide</title>
|
<meta name="description" content="Sample article showcasing basic Markdown syntax and formatting for HTML elements.">
|
<meta name="author" content="Hugo Authors">
|
<link rel="icon" href="/ticky_tacky_dark/favicon.ico"><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:type" content="article" />
|
<meta property="og:url" content="https://kc0bfv.github.io/ticky_tacky_dark/markdown-syntax/" />
|
<meta property="og:image" content="https://kc0bfv.github.io/ticky_tacky_dark/img/interesting01.jpg" />
|
<meta property="article:published_time" content="2019-12-08T00:00:00+00:00" />
|
<meta property="article:modified_time" content="2019-12-08T00:00:00+00:00" />
|
<meta name="twitter:card" content="summary_large_image"/>
|
<meta name="twitter:image" content="https://kc0bfv.github.io/ticky_tacky_dark/img/interesting01.jpg"/>
|
|
<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 name="robots" content="index,follow">
|
<meta name="referrer" content="origin-when-cross-origin">
|
|
|
<meta name="generator" content="Hugo 0.65.3" />
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
|
|
<link rel="stylesheet" href="/ticky_tacky_dark/css/myscreen.css" type="text/css" media="screen">
|
<link rel="stylesheet" href="/ticky_tacky_dark/css/myprint.css" type="text/css" media="print">
|
<meta name="theme-color" content="black">
|
|
<link href="https://fonts.googleapis.com/css?family=Ubuntu&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css?family=Open+Sans&display=swap" rel="stylesheet">
|
|
<noscript>
|
<style>
|
|
#headerimg {
|
background-image: url(https://kc0bfv.github.io/ticky_tacky_dark/img/header01.jpg);
|
background-size: cover;
|
}
|
|
|
#sideimage {
|
background-image: url(https://kc0bfv.github.io/ticky_tacky_dark/img/interesting01.jpg);
|
background-size: cover;
|
}
|
|
</style>
|
</noscript>
|
|
<script>
|
|
function randomHeaderImg() {
|
let images = ["https://kc0bfv.github.io/ticky_tacky_dark/img/header01.jpg","https://kc0bfv.github.io/ticky_tacky_dark/img/header02.jpg"];
|
let img_ind = Math.ceil(Math.random() * images.length) - 1;
|
let sel_url = images[img_ind]
|
let img = new Image();
|
img.onload = function() {
|
function set_img(old_onload) {
|
let element = document.getElementById("headerimg");
|
element.src = sel_url;
|
if( old_onload ){ old_onload() }
|
}
|
if( document.readyState === "complete" ) { set_img() }
|
else { window.onload = set_img(window.onload) }
|
}
|
img.src = sel_url;
|
}
|
randomHeaderImg();
|
|
|
function randomSideImg() {
|
let images = ["https://kc0bfv.github.io/ticky_tacky_dark/img/interesting01.jpg"];
|
let img_ind = Math.ceil(Math.random() * images.length) - 1;
|
let sel_url = images[img_ind]
|
let img = new Image();
|
img.onload = function() {
|
function set_img(old_onload) {
|
let element = document.getElementById("sideimage");
|
element.src = sel_url;
|
if( old_onload ){ old_onload() }
|
}
|
if( document.readyState === "complete" ) { set_img() }
|
else { window.onload = set_img(window.onload) }
|
}
|
img.src = sel_url;
|
}
|
randomSideImg();
|
|
</script>
|
</head>
|
<body>
|
<div id="full_body">
|
<header id="header" class="top-section"><img id="headerimg" class="veryrounded" src="/ticky_tacky_dark/img/header_template.png" alt="">
|
<div id="header-text">tickytackydark</div></header>
|
<div id="content" class="top-section">
|
<div class="container-fluid">
|
<div class="row">
|
<div class="col col-12 col-sm-8 col-lg-9">
|
<main class="row">
|
<div class="col-12 col-sm-5">
|
|
<img id="sideimage" class="morerounded" src="/ticky_tacky_dark/img/side_image_template.png" alt="Interesting Page Image">
|
|
</div>
|
<div class="col-12 col-sm-7">
|
<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><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>
|
<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, optionally with a citation which must be within a <code>footer</code> or <code>cite</code> element, and optionally with in-line changes such as annotations and abbreviations.</p>
|
<h4 id="blockquote-without-attribution">Blockquote without attribution</h4>
|
<blockquote>
|
<p>Tiam, ad mint andaepu dandae nostion secatur sequo quae.
|
<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’t communicate by sharing memory, share memory by communicating.
|
— 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’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>Inline </th>
|
<th>Markdown </th>
|
<th>In </th>
|
<th>Table</th>
|
</tr>
|
</thead>
|
<tbody>
|
<tr>
|
<td><em>italics</em></td>
|
<td><strong>bold</strong></td>
|
<td><del>strikethrough</del> </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>
|
<pre><code>html
|
<!DOCTYPE html>
|
<html lang="en">
|
<head>
|
<meta charset="UTF-8">
|
<title>Example HTML5 Document</title>
|
</head>
|
<body>
|
<p>Test</p>
|
</body>
|
</html>
|
</code></pre><h4 id="code-block-indented-with-four-spaces">Code block indented with four spaces</h4>
|
<pre><code><!DOCTYPE html>
|
<html lang="en">
|
<head>
|
<meta charset="UTF-8">
|
<title>Example HTML5 Document</title>
|
</head>
|
<body>
|
<p>Test</p>
|
</body>
|
</html>
|
</code></pre>
|
<h4 id="code-block-with-hugos-internal-highlight-shortcode">Code block with Hugo’s internal highlight shortcode</h4>
|
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-html" data-lang="html"><span style="color:#75715e"><!DOCTYPE html></span>
|
<<span style="color:#f92672">html</span> <span style="color:#a6e22e">lang</span><span style="color:#f92672">=</span><span style="color:#e6db74">"en"</span>>
|
<<span style="color:#f92672">head</span>>
|
<<span style="color:#f92672">meta</span> <span style="color:#a6e22e">charset</span><span style="color:#f92672">=</span><span style="color:#e6db74">"UTF-8"</span>>
|
<<span style="color:#f92672">title</span>>Example HTML5 Document</<span style="color:#f92672">title</span>>
|
</<span style="color:#f92672">head</span>>
|
<<span style="color:#f92672">body</span>>
|
<<span style="color:#f92672">p</span>>Test</<span style="color:#f92672">p</span>>
|
</<span style="color:#f92672">body</span>>
|
</<span style="color:#f92672">html</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>Item</li>
|
</ul>
|
<ol>
|
<li>First Sub-item</li>
|
<li>Second Sub-item</li>
|
</ol>
|
<section class="footnotes" role="doc-endnotes">
|
<hr>
|
<ol>
|
<li id="fn:1" role="doc-endnote">
|
<p>The above quote is excerpted from Rob Pike’s <a href="https://www.youtube.com/watch?v=PAAkCSZUG1c">talk</a> during Gopherfest, November 18, 2015. <a href="#fnref:1" class="footnote-backref" role="doc-backlink">↩︎</a></p>
|
</li>
|
</ol>
|
</section>
|
</div>
|
|
</main>
|
</div>
|
<nav class="col col-8 offset-2 col-sm-4 offset-sm-0 col-lg-3"><div class="box morerounded">
|
<ul class="navbar">
|
<li><a href="https://kc0bfv.github.io/ticky_tacky_dark/">Main</a></li>
|
<li><a href="https://kc0bfv.github.io/ticky_tacky_dark/about/">About</a></li>
|
<li>Markdown Syntax Guide</li>
|
<li><a href="https://github.com/kc0bfv/ticky_tacky_dark">Theme Source</a></li>
|
<li><a href="https://kc0bfv.github.io/ticky_tacky_dark/emoji-support/">Emoji Support</a></li>
|
<li><a href="https://kc0bfv.github.io/ticky_tacky_dark/rich-content/">Rich Content</a></li>
|
<li><a href="https://kc0bfv.github.io/ticky_tacky_dark/math-typesetting/">Math Typesetting</a></li>
|
</ul>
|
</div>
|
</nav>
|
</div>
|
</div>
|
</div>
|
<footer id="footer" class="top-section">Webmaster: <a href="mailto:kc0bfv@gmail.com">kc0bfv@gmail.com</a>
|
</footer></div>
|
</body>
|
</html>
|