Sync with latest Maruku

Contains Ari Stern's additions for Blahtex support.
This commit is contained in:
Jacques Distler 2008-08-05 13:18:23 -05:00
parent e1c7d035c9
commit 37aff87d71
100 changed files with 715 additions and 2848 deletions

View file

@ -22,14 +22,6 @@ md_el(:document,[md_el(:code,[],{:raw_code=>"@articles.map(&:title)"},[])],{},[]
*** Output of Markdown.pl ***
<pre><code>@articles.map(&amp;:title)
</code></pre>
(not used anymore)
*** Output of Markdown.pl (parsed) ***
<div>
<pre>
<code>
@articles.map(&amp;:title)
</code>
</pre>
</div>
(not used anymore)

View file

@ -44,14 +44,6 @@ B&&X\\
*** Output of Markdown.pl ***
<p>| | 1 | 2 |
|----|----|----|
| A | X | |
| B | | X |</p>
(not used anymore)
*** Output of Markdown.pl (parsed) ***
<div>
<p>
| | 1 | 2 | |----|----|----| | A | X | | | B | | X |
</p>
</div>
(not used anymore)

View file

@ -79,71 +79,6 @@ md_el(:document,[
*** Output of Markdown.pl ***
<p><a href="http://www.aa.com">http://www.aa.com</a></p>
<p><a href="http://www.bb.com">http://www.bb.com</a></p>
<p><a href="http://www.cc.com">http://www.cc.com</a></p>
<p><a href="http://www.dd.com">http://www.dd.com</a></p>
<pre><code>&lt;http://www.dd.com&gt;
</code></pre>
<p><a href="&#109;&#97;&#105;&#108;&#116;&#x6F;:&#97;&#64;i&#x6E;&#x76;&#x61;&#108;&#x69;&#100;.&#x69;&#x74;">&#97;&#64;i&#x6E;&#x76;&#x61;&#108;&#x69;&#100;.&#x69;&#x74;</a></p>
<p><a href="&#109;&#97;&#105;&#x6C;&#116;&#x6F;:&#x61;&#64;&#105;&#110;&#x76;&#97;&#108;i&#x64;&#46;&#105;t">&#x61;&#64;&#105;&#110;&#x76;&#97;&#108;i&#x64;&#46;&#105;t</a></p>
<p><a href="&#x6D;&#97;&#x69;&#x6C;&#x74;&#111;:&#x61;&#64;&#105;&#x6E;&#118;&#x61;&#x6C;&#x69;&#100;&#x2E;&#x69;&#116;">&#x61;&#64;&#105;&#x6E;&#118;&#x61;&#x6C;&#x69;&#100;&#x2E;&#x69;&#116;</a></p>
<pre><code>&lt;a@invalid.it&gt;
</code></pre>
(not used anymore)
*** Output of Markdown.pl (parsed) ***
<div>
<p>
<a href='http://www.aa.com'>
http://www.aa.com
</a>
</p>
<p>
<a href='http://www.bb.com'>
http://www.bb.com
</a>
</p>
<p>
<a href='http://www.cc.com'>
http://www.cc.com
</a>
</p>
<p>
<a href='http://www.dd.com'>
http://www.dd.com
</a>
</p>
<pre>
<code>
&lt;http://www.dd.com&gt;
</code>
</pre>
<p>
<a href='&#109;&#97;&#105;&#108;&#116;&#x6F;:&#97;&#64;i&#x6E;&#x76;&#x61;&#108;&#x69;&#100;.&#x69;&#x74;'>
&#97;&#64;i&#x6E;&#x76;&#x61;&#108;&#x69;&#100;.&#x69;&#x74;
</a>
</p>
<p>
<a href='&#109;&#97;&#105;&#x6C;&#116;&#x6F;:&#x61;&#64;&#105;&#110;&#x76;&#97;&#108;i&#x64;&#46;&#105;t'>
&#x61;&#64;&#105;&#110;&#x76;&#97;&#108;i&#x64;&#46;&#105;t
</a>
</p>
<p>
<a href='&#x6D;&#97;&#x69;&#x6C;&#x74;&#111;:&#x61;&#64;&#105;&#x6E;&#118;&#x61;&#x6C;&#x69;&#100;&#x2E;&#x69;&#116;'>
&#x61;&#64;&#105;&#x6E;&#118;&#x61;&#x6C;&#x69;&#100;&#x2E;&#x69;&#116;
</a>
</p>
<pre>
<code>
&lt;a@invalid.it&gt;
</code>
</pre>
</div>
(not used anymore)

View file

@ -0,0 +1,33 @@
Write a comment here
*** Parameters: ***
{} # params
*** Markdown input: ***
[a. b] is a link.
[a. b]: http://site.com/
*** Output of inspect ***
md_el(:document,[
md_par([md_link(["a. b"],"a_b"), " is a link."]),
md_ref_def("a_b", "http://site.com/", {:title=>nil})
],{},[])
*** Output of to_html ***
<p><a href='http://site.com/'>a. b</a> is a link.</p>
*** Output of to_latex ***
\href{http://site.com/}{a. b} is a link.
*** Output of to_md ***
a. bis a link.
*** Output of to_s ***
a. b is a link.
*** EOF ***
OK!
*** Output of Markdown.pl ***
(not used anymore)
*** Output of Markdown.pl (parsed) ***
(not used anymore)