Fix Maruku Indented Codeblocks

I'd screwed that up.
Also, fix some bugs in the #to_md
output method. Still not correct
(and I'm not sure I'm going to
bother completing the job), but
better.
This commit is contained in:
Jacques Distler 2011-08-21 02:43:43 -05:00
parent 1e352e28a1
commit f463a3b1c8
41 changed files with 493 additions and 165 deletions

View file

@ -21,9 +21,9 @@ md_el(:document,[
],{:align=>[:left, :left, :left]},[])
],{},[])
*** Output of to_html ***
<table><thead><tr><th/><th>1</th><th>2</th></tr></thead><tbody><tr><td style="text-align: left;">A</td><td style="text-align: left;">X</td><td style="text-align: left;"/>
</tr><tr><td style="text-align: left;">B</td><td style="text-align: left;"/><td style="text-align: left;">X</td>
</tr></tbody></table>
<table><thead><tr><th/><th>1</th><th>2</th></tr></thead><tbody><tr><td style="text-align: left;">A</td><td style="text-align: left;">X</td><td style="text-align: left;"/></tr>
<tr><td style="text-align: left;">B</td><td style="text-align: left;"/><td style="text-align: left;">X</td></tr>
</tbody></table>
*** Output of to_latex ***
\begin{tabular}{l|l|l}
&1&2\\

View file

@ -67,6 +67,22 @@ md_el(:document,[
\begin{verbatim}<a@invalid.it>\end{verbatim}
*** Output of to_md ***
<http://www.aa.com>
<http://www.bb.com>
<http://www.cc.com>
<http://www.dd.com>
<http://www.dd.com>
<a@invalid.it>
<a@invalid.it>
<a@invalid.it>
<a@invalid.it>
*** Output of to_s ***

View file

@ -16,6 +16,9 @@ md_el(:document,[
*** Output of to_latex ***
\href{http://site.com/}{a. b} is a link.
*** Output of to_md ***
a. bis a link.
[a. b] is a link.
[a. b]: http://site.com/
*** Output of to_s ***
a. b is a link.