1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00

parser should be less dependent on compiler

This commit is contained in:
Emanuil Rusev 2014-02-21 01:54:23 +02:00
parent 7a20a9fb60
commit b8bd12f565
10 changed files with 492 additions and 441 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,12 @@
<pre><code>&lt;?php
<pre>
<code>&lt;?php
$message = 'Hello World!';
echo $message;</code></pre>
$message = 'Hello World!';
echo $message;</code>
</pre>
<hr />
<pre><code>&gt; not a quote
<pre>
<code>&gt; not a quote
- not a list item
[not a reference]: http://foo.com</code></pre>
[not a reference]: http://foo.com</code>
</pre>

View File

@ -1,11 +1,10 @@
<?php
$message = 'Hello World!';
$message = 'Hello World!';
echo $message;
---
> not a quote
> not a quote
- not a list item
[not a reference]: http://foo.com
[not a reference]: http://foo.com

View File

@ -1,13 +1,11 @@
<ul>
<li>li
<li>
li
<ul>
<li>li
<ul>
<li>li
<li>
li
<ul>
<li>li</li>
</ul>
</li>
<li>li</li>
</ul>
</li>

View File

@ -1,7 +1,6 @@
- li
- li
- li
- li
- li
- li
- li

View File

@ -1,4 +1,6 @@
<p>escaped *emphasis*.</p>
<p><code>escaped \*emphasis\* in a code span</code></p>
<pre><code>escaped \*emphasis\* in a code block</code></pre>
<pre>
<code>escaped \*emphasis\* in a code block</code>
</pre>
<p>\ ` * _ { } [ ] ( ) > # + - . !</p>

View File

@ -1,6 +1,12 @@
<pre><code>&lt;?php
<pre>
<code>&lt;?php
$message = 'fenced code block';
echo $message;</code></pre>
<pre><code>tilde</code></pre>
<pre><code class="language-php">echo 'language identifier';</code></pre>
echo $message;</code>
</pre>
<pre>
<code>tilde</code>
</pre>
<pre>
<code class="language-php">echo 'language identifier';</code>
</pre>

View File

@ -1,6 +1,8 @@
<pre><code>&lt;?php
<pre>
<code>&lt;?php
$message = 'Hello World!';
$message = 'Hello World!';
echo $message;
echo "following a blank line";</code></pre>
echo "following a blank line";</code>
</pre>

View File

@ -1,6 +1,6 @@
<?php
$message = 'Hello World!';
$message = 'Hello World!';
echo $message;
echo "following a blank line";

View File

@ -1 +1,3 @@
<pre><code>code</code></pre>
<pre>
<code>code</code>
</pre>