Back (Current repo: lowdown)

fork of lowdown from https://kristaps.bsd.lv
To clone this repository:
git clone https://git.viktor1993.net/lowdown.git
Log | Download | Files | Refs | LICENSE

simple.html (3760B)


<h1 id="an-h1-header">An h1 header</h1>

<p>Paragraphs are separated by a blank line.</p>

<p>2nd paragraph. <em>Italic</em>, <strong>bold</strong>, and <code>monospace</code>. Itemized lists
look like:</p>

<ul>
<li>this one</li>
<li>that one</li>
<li>the other one</li>
</ul>

<p>Note that &#8212; not considering the asterisk &#8212; the actual text
content starts at 4-columns in.</p>

<blockquote>
<p>Block quotes are
written like so.</p>

<p>They can span multiple paragraphs,
if you like.</p>
</blockquote>

<p>Use 3 dashes for an em-dash. Use 2 dashes for ranges (ex., &#8220;it&#8217;s all
in chapters 12&#8211;14&#8221;). Three dots &#8230; will be converted to an ellipsis.
Unicode is supported. ☺</p>

<h2 id="an-h2-header">An h2 header</h2>

<p>Here&#8217;s a numbered list:</p>

<ol>
<li>first item</li>
<li>second item</li>
<li>third item</li>
</ol>

<p>Note again how the actual text starts at 4 columns in (4 characters
from the left side). Here&#8217;s a code sample:</p>

<pre><code># Let me re-iterate ...
for i in 1 .. 10 { do-something(i) }
</code></pre>

<p>As you probably guessed, indented 4 spaces. By the way, instead of
indenting the block, you can use delimited blocks, if you like:</p>

<pre><code>define foobar() {
    print "Welcome to flavor country!";
}
</code></pre>

<p>(which makes copying &#38; pasting easier). You can optionally mark the
delimited block for Pandoc to syntax highlight it:</p>

<pre><code class="language-python">import time
# Quick, count to ten!
for i in range(10):
    # (but not *too* quick)
    time.sleep(0.5)
    print i
</code></pre>

<h3 id="an-h3-header">An h3 header</h3>

<p>Now a nested list:</p>

<ol>
<li><p>First, get these ingredients:</p>

<ul>
<li>carrots</li>
<li>celery</li>
<li>lentils</li>
</ul></li>
<li><p>Boil some water.</p></li>
<li><p>Dump everything in the pot and follow
this algorithm:</p>

<pre><code>find wooden spoon
uncover pot
stir
cover pot
balance wooden spoon precariously on pot handle
wait 10 minutes
goto first step (or shut off burner when done)
</code></pre>

<p>Do not bump wooden spoon or it will fall.</p></li>
</ol>

<p>Notice again how text always lines up on 4-space indents (including
that last line which continues item 3 above).</p>

<p>Here&#8217;s a link to <a href="http://foo.bar">a website</a>, to a <a href="local-doc.html">local
doc</a>, and to a <a href="#an-h2-header">section heading in the current
doc</a>. Here&#8217;s a footnote <sup id="fnref1"><a href="#fn1" rel="footnote">1</a></sup>.</p>

<p>Tables can look like this:</p>

<table>
<thead>
<tr>
<th>size</th>
<th>material</th>
<th>color</th>
</tr>
</thead>

<tbody>
<tr>
<td>9</td>
<td>leather</td>
<td>brown</td>
</tr>
<tr>
<td>10</td>
<td>hemp canvas</td>
<td>natural</td>
</tr>
<tr>
<td>11</td>
<td>glass</td>
<td>transparent</td>
</tr>
</tbody>
</table>

<p>Table: Shoes, their sizes, and what they&#8217;re made of</p>

<p>(The above is the caption for the table.)</p>

<p>A horizontal rule follows.</p>

<hr/>

<p>Here&#8217;s a definition list:</p>

<dl>
<dt>apples</dt>
<dd>
Good for making applesauce.
</dd>
<dt>oranges</dt>
<dd>
Citrus!
</dd>
<dt>tomatoes</dt>
<dd>
There&#8217;s no &#8220;e&#8221; in tomatoe.
</dd>
</dl>

<p>Again, text is indented 4 spaces. (Put a blank line between each
term&#47;definition pair to spread things out more.)</p>

<p>Images can be specified like so:</p>

<p><img src="example-image.jpg" alt="example image" title="An exemplary image" /></p>

<p>And note that you can backslash-escape any punctuation characters
which you wish to be displayed literally, ex.: `foo`, *bar*, etc.</p>

<div class="footnotes">
<hr/>
<ol>

<li id="fn1">
<p>Footnote text goes here.&#160;<a href="#fnref1" rev="footnote">&#8617;</a></p>
</li>

</ol>
</div>