Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed
https://markdown-it.github.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
495 B
23 lines
495 B
10 years ago
|
<p>Indented code with two space indent in first and last line:</p>
|
||
|
<pre><code> two spaces *hello*
|
||
|
{ more }
|
||
|
|
||
|
and
|
||
|
</code></pre>
|
||
|
<p>Indented code requires a leading/trailing blank line:
|
||
|
quick-command --option "$*"</p>
|
||
|
<p>Indented code does not require a trailing blank line:</p>
|
||
|
<pre><code>code
|
||
|
</code></pre>
|
||
|
<p>and not code.</p>
|
||
|
<p>Code in blockquote:</p>
|
||
|
<blockquote>
|
||
|
<pre><code>code
|
||
|
</code></pre>
|
||
|
</blockquote>
|
||
|
<p>Code in list:</p>
|
||
|
<ol>
|
||
|
<li><pre><code>code
|
||
|
</code></pre></li>
|
||
|
</ol>
|