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:
parent
7a20a9fb60
commit
b8bd12f565
867
Parsedown.php
867
Parsedown.php
File diff suppressed because it is too large
Load Diff
@ -1,8 +1,12 @@
|
||||
<pre><code><?php
|
||||
<pre>
|
||||
<code><?php
|
||||
|
||||
$message = 'Hello World!';
|
||||
echo $message;</code></pre>
|
||||
$message = 'Hello World!';
|
||||
echo $message;</code>
|
||||
</pre>
|
||||
<hr />
|
||||
<pre><code>> not a quote
|
||||
<pre>
|
||||
<code>> not a quote
|
||||
- not a list item
|
||||
[not a reference]: http://foo.com</code></pre>
|
||||
[not a reference]: http://foo.com</code>
|
||||
</pre>
|
@ -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
|
@ -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>
|
||||
|
@ -1,7 +1,6 @@
|
||||
- li
|
||||
- li
|
||||
- li
|
||||
- li
|
||||
- li
|
||||
- li
|
||||
- li
|
@ -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>
|
@ -1,6 +1,12 @@
|
||||
<pre><code><?php
|
||||
<pre>
|
||||
<code><?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>
|
@ -1,6 +1,8 @@
|
||||
<pre><code><?php
|
||||
<pre>
|
||||
<code><?php
|
||||
|
||||
$message = 'Hello World!';
|
||||
$message = 'Hello World!';
|
||||
echo $message;
|
||||
|
||||
echo "following a blank line";</code></pre>
|
||||
echo "following a blank line";</code>
|
||||
</pre>
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
$message = 'Hello World!';
|
||||
$message = 'Hello World!';
|
||||
echo $message;
|
||||
|
||||
echo "following a blank line";
|
@ -1 +1,3 @@
|
||||
<pre><code>code</code></pre>
|
||||
<pre>
|
||||
<code>code</code>
|
||||
</pre>
|
Loading…
Reference in New Issue
Block a user