html: Improve block rendering

This commit is contained in:
Niklas Fasching 2018-12-02 18:54:53 +01:00
parent d2d9dc0fc8
commit 4e2fb02b57
4 changed files with 64 additions and 14 deletions

View file

@ -23,7 +23,9 @@
<li><p>unordered list item 3 - and a <a href="https://example.com">link</a> and some lines of text</p>
<ol>
<li><p>and another subitem</p>
<code>echo with a block</code>
<code class="src src-sh">
<pre>echo with a block<pre>
</code>
</li>
<li><p>and another one with a table</p>
<table>
@ -62,6 +64,21 @@
</ol>
</li>
</ul>
<h2>blocks</h2>
<code class="src src-bash">
<pre>echo a bash source block<pre>
</code>
<code class="src src-text">
<pre>a source block without a language
and a second line
and a third one<pre>
</code>
<pre class="example">
an example blockwith multiple lines
</pre>
<blockquote>
Mongodb is very webscale
</blockquote>
<h2>Footnotes</h2>
<ul>
<li>normal footnote reference <sup class="footnote-reference"><a href="#footnote-1">1</a></sup></li>