bai-maruku 0.5.9
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +102 -0
- data/bin/marudown +29 -0
- data/bin/maruku +181 -0
- data/bin/marutest +345 -0
- data/bin/marutex +31 -0
- data/docs/changelog.md +334 -0
- data/docs/div_syntax.md +36 -0
- data/docs/entity_test.md +23 -0
- data/docs/markdown_syntax.md +899 -0
- data/docs/maruku.md +346 -0
- data/docs/math.md +194 -0
- data/docs/other_stuff.md +51 -0
- data/docs/proposal.md +309 -0
- data/lib/maruku.rb +141 -0
- data/lib/maruku/attributes.rb +227 -0
- data/lib/maruku/defaults.rb +71 -0
- data/lib/maruku/errors_management.rb +92 -0
- data/lib/maruku/ext/div.rb +133 -0
- data/lib/maruku/ext/math.rb +41 -0
- data/lib/maruku/ext/math/elements.rb +27 -0
- data/lib/maruku/ext/math/latex_fix.rb +12 -0
- data/lib/maruku/ext/math/mathml_engines/blahtex.rb +107 -0
- data/lib/maruku/ext/math/mathml_engines/itex2mml.rb +29 -0
- data/lib/maruku/ext/math/mathml_engines/none.rb +20 -0
- data/lib/maruku/ext/math/mathml_engines/ritex.rb +24 -0
- data/lib/maruku/ext/math/parsing.rb +119 -0
- data/lib/maruku/ext/math/to_html.rb +187 -0
- data/lib/maruku/ext/math/to_latex.rb +26 -0
- data/lib/maruku/helpers.rb +260 -0
- data/lib/maruku/input/charsource.rb +326 -0
- data/lib/maruku/input/extensions.rb +69 -0
- data/lib/maruku/input/html_helper.rb +189 -0
- data/lib/maruku/input/linesource.rb +111 -0
- data/lib/maruku/input/parse_block.rb +614 -0
- data/lib/maruku/input/parse_doc.rb +227 -0
- data/lib/maruku/input/parse_span_better.rb +746 -0
- data/lib/maruku/input/rubypants.rb +225 -0
- data/lib/maruku/input/type_detection.rb +147 -0
- data/lib/maruku/input_textile2/t2_parser.rb +163 -0
- data/lib/maruku/maruku.rb +33 -0
- data/lib/maruku/output/s5/fancy.rb +756 -0
- data/lib/maruku/output/s5/to_s5.rb +138 -0
- data/lib/maruku/output/to_html.rb +991 -0
- data/lib/maruku/output/to_latex.rb +590 -0
- data/lib/maruku/output/to_latex_entities.rb +367 -0
- data/lib/maruku/output/to_latex_strings.rb +64 -0
- data/lib/maruku/output/to_markdown.rb +164 -0
- data/lib/maruku/output/to_s.rb +56 -0
- data/lib/maruku/string_utils.rb +191 -0
- data/lib/maruku/structures.rb +167 -0
- data/lib/maruku/structures_inspect.rb +87 -0
- data/lib/maruku/structures_iterators.rb +61 -0
- data/lib/maruku/tests/benchmark.rb +82 -0
- data/lib/maruku/tests/new_parser.rb +373 -0
- data/lib/maruku/tests/tests.rb +136 -0
- data/lib/maruku/textile2.rb +1 -0
- data/lib/maruku/toc.rb +199 -0
- data/lib/maruku/usage/example1.rb +33 -0
- data/lib/maruku/version.rb +40 -0
- data/maruku.gemspec +32 -0
- data/tests/bugs/code_in_links.md +101 -0
- data/tests/bugs/complex_escaping.md +38 -0
- data/tests/math/syntax.md +46 -0
- data/tests/math_usage/document.md +13 -0
- data/tests/others/abbreviations.md +11 -0
- data/tests/others/blank.md +4 -0
- data/tests/others/code.md +5 -0
- data/tests/others/code2.md +8 -0
- data/tests/others/code3.md +16 -0
- data/tests/others/email.md +4 -0
- data/tests/others/entities.md +19 -0
- data/tests/others/escaping.md +16 -0
- data/tests/others/extra_dl.md +101 -0
- data/tests/others/extra_header_id.md +13 -0
- data/tests/others/extra_table1.md +40 -0
- data/tests/others/footnotes.md +17 -0
- data/tests/others/headers.md +10 -0
- data/tests/others/hrule.md +10 -0
- data/tests/others/images.md +20 -0
- data/tests/others/inline_html.md +42 -0
- data/tests/others/links.md +38 -0
- data/tests/others/list1.md +4 -0
- data/tests/others/list2.md +5 -0
- data/tests/others/list3.md +8 -0
- data/tests/others/lists.md +32 -0
- data/tests/others/lists_after_paragraph.md +44 -0
- data/tests/others/lists_ol.md +39 -0
- data/tests/others/misc_sw.md +105 -0
- data/tests/others/one.md +1 -0
- data/tests/others/paragraphs.md +13 -0
- data/tests/others/sss06.md +352 -0
- data/tests/others/test.md +4 -0
- data/tests/s5/s5profiling.md +48 -0
- data/tests/unittest/abbreviations.md +64 -0
- data/tests/unittest/alt.md +29 -0
- data/tests/unittest/attributes/att2.md +32 -0
- data/tests/unittest/attributes/att3.md +40 -0
- data/tests/unittest/attributes/attributes.md +69 -0
- data/tests/unittest/attributes/circular.md +38 -0
- data/tests/unittest/attributes/default.md +34 -0
- data/tests/unittest/blank.md +36 -0
- data/tests/unittest/blanks_in_code.md +87 -0
- data/tests/unittest/bug_def.md +28 -0
- data/tests/unittest/bug_table.md +58 -0
- data/tests/unittest/code.md +46 -0
- data/tests/unittest/code2.md +40 -0
- data/tests/unittest/code3.md +83 -0
- data/tests/unittest/data_loss.md +37 -0
- data/tests/unittest/divs/div1.md +179 -0
- data/tests/unittest/divs/div2.md +33 -0
- data/tests/unittest/divs/div3_nest.md +57 -0
- data/tests/unittest/easy.md +27 -0
- data/tests/unittest/email.md +32 -0
- data/tests/unittest/encoding/iso-8859-1.md +35 -0
- data/tests/unittest/encoding/utf-8.md +30 -0
- data/tests/unittest/entities.md +106 -0
- data/tests/unittest/escaping.md +79 -0
- data/tests/unittest/extra_dl.md +64 -0
- data/tests/unittest/extra_header_id.md +75 -0
- data/tests/unittest/extra_table1.md +49 -0
- data/tests/unittest/footnotes.md +109 -0
- data/tests/unittest/headers.md +49 -0
- data/tests/unittest/hex_entities.md +49 -0
- data/tests/unittest/hrule.md +51 -0
- data/tests/unittest/html2.md +34 -0
- data/tests/unittest/html3.md +43 -0
- data/tests/unittest/html4.md +37 -0
- data/tests/unittest/html5.md +35 -0
- data/tests/unittest/ie.md +61 -0
- data/tests/unittest/images.md +102 -0
- data/tests/unittest/images2.md +43 -0
- data/tests/unittest/inline_html.md +187 -0
- data/tests/unittest/inline_html2.md +33 -0
- data/tests/unittest/links.md +164 -0
- data/tests/unittest/links2.md +34 -0
- data/tests/unittest/list1.md +58 -0
- data/tests/unittest/list12.md +40 -0
- data/tests/unittest/list2.md +68 -0
- data/tests/unittest/list3.md +76 -0
- data/tests/unittest/list4.md +101 -0
- data/tests/unittest/lists.md +204 -0
- data/tests/unittest/lists10.md +46 -0
- data/tests/unittest/lists11.md +28 -0
- data/tests/unittest/lists6.md +53 -0
- data/tests/unittest/lists9.md +76 -0
- data/tests/unittest/lists_after_paragraph.md +220 -0
- data/tests/unittest/lists_ol.md +274 -0
- data/tests/unittest/loss.md +28 -0
- data/tests/unittest/math/equations.md +86 -0
- data/tests/unittest/math/inline.md +58 -0
- data/tests/unittest/math/math2.md +88 -0
- data/tests/unittest/math/notmath.md +37 -0
- data/tests/unittest/math/table.md +52 -0
- data/tests/unittest/math/table2.md +54 -0
- data/tests/unittest/misc_sw.md +537 -0
- data/tests/unittest/notyet/escape.md +33 -0
- data/tests/unittest/notyet/header_after_par.md +70 -0
- data/tests/unittest/notyet/ticks.md +30 -0
- data/tests/unittest/notyet/triggering.md +169 -0
- data/tests/unittest/olist.md +57 -0
- data/tests/unittest/one.md +27 -0
- data/tests/unittest/paragraph.md +28 -0
- data/tests/unittest/paragraph_rules/dont_merge_ref.md +54 -0
- data/tests/unittest/paragraph_rules/tab_is_blank.md +36 -0
- data/tests/unittest/paragraphs.md +58 -0
- data/tests/unittest/pending/amps.md +27 -0
- data/tests/unittest/pending/empty_cells.md +49 -0
- data/tests/unittest/pending/link.md +84 -0
- data/tests/unittest/pending/ref.md +33 -0
- data/tests/unittest/recover/recover_links.md +27 -0
- data/tests/unittest/red_tests/abbrev.md +1388 -0
- data/tests/unittest/red_tests/lists7.md +68 -0
- data/tests/unittest/red_tests/lists7b.md +128 -0
- data/tests/unittest/red_tests/lists8.md +76 -0
- data/tests/unittest/references/long_example.md +83 -0
- data/tests/unittest/references/spaces_and_numbers.md +27 -0
- data/tests/unittest/smartypants.md +126 -0
- data/tests/unittest/syntax_hl.md +64 -0
- data/tests/unittest/table_attributes.md +46 -0
- data/tests/unittest/test.md +31 -0
- data/tests/unittest/underscore_in_words.md +27 -0
- data/tests/unittest/wrapping.md +79 -0
- data/tests/unittest/xml.md +45 -0
- data/tests/unittest/xml2.md +31 -0
- data/tests/unittest/xml3.md +38 -0
- data/tests/unittest/xml_instruction.md +64 -0
- data/tests/utf8-files/simple.md +1 -0
- data/unit_test_block.sh +5 -0
- data/unit_test_span.sh +3 -0
- metadata +251 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
Write a comment here
|
2
|
+
*** Parameters: ***
|
3
|
+
{} # params
|
4
|
+
*** Markdown input: ***
|
5
|
+
[test][]:
|
6
|
+
|
7
|
+
*** Output of inspect ***
|
8
|
+
md_el(:document,[md_par([md_link(["test"],"test"), ":"])],{},[])
|
9
|
+
*** Output of to_html ***
|
10
|
+
<p><span>test</span>:</p>
|
11
|
+
*** Output of to_latex ***
|
12
|
+
test:
|
13
|
+
*** Output of to_md ***
|
14
|
+
test:
|
15
|
+
*** Output of to_s ***
|
16
|
+
test:
|
17
|
+
*** EOF ***
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
OK!
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
*** Output of Markdown.pl ***
|
26
|
+
(not used anymore)
|
27
|
+
*** Output of Markdown.pl (parsed) ***
|
28
|
+
(not used anymore)
|
@@ -0,0 +1,58 @@
|
|
1
|
+
Write a comment here
|
2
|
+
*** Parameters: ***
|
3
|
+
{} # params
|
4
|
+
*** Markdown input: ***
|
5
|
+
|
6
|
+
|
7
|
+
hello
|
8
|
+
{: summary="Table summary" .class1 style="color:red"}
|
9
|
+
|
10
|
+
h | h
|
11
|
+
----------|--
|
12
|
+
{:t} c1 | c2
|
13
|
+
{: summary="Table summary" .class1 style="color:red"}
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
{:t: scope="row"}
|
18
|
+
*** Output of inspect ***
|
19
|
+
md_el(:document,[
|
20
|
+
md_par(["hello"], [["summary", "Table summary"], [:class, "class1"], ["style", "color:red"]]),
|
21
|
+
md_el(:table,[
|
22
|
+
md_el(:head_cell,["h"],{},[]),
|
23
|
+
md_el(:head_cell,["h"],{},[]),
|
24
|
+
md_el(:cell,[" c1"],{},[[:ref, "t"]]),
|
25
|
+
md_el(:cell,["c2"],{},[])
|
26
|
+
],{:align=>[:left, :left]},[["summary", "Table summary"], [:class, "class1"], ["style", "color:red"]]),
|
27
|
+
md_el(:ald,[],{:ald=>[["scope", "row"]],:ald_id=>"t"},[])
|
28
|
+
],{},[])
|
29
|
+
*** Output of to_html ***
|
30
|
+
<p class='class1' style='color:red'>hello</p>
|
31
|
+
<table class='class1' summary='Table summary' style='color:red'><thead><tr><th>h</th><th>h</th></tr></thead><tbody><tr><th scope='row' style='text-align: left;'> c1</th><td style='text-align: left;'>c2</td>
|
32
|
+
</tr></tbody></table>
|
33
|
+
*** Output of to_latex ***
|
34
|
+
hello
|
35
|
+
|
36
|
+
\begin{tabular}{l|l}
|
37
|
+
h&h\\
|
38
|
+
\hline
|
39
|
+
c1&c2\\
|
40
|
+
\end{tabular}
|
41
|
+
*** Output of to_md ***
|
42
|
+
hello
|
43
|
+
|
44
|
+
hh c1c2
|
45
|
+
*** Output of to_s ***
|
46
|
+
hellohh c1c2
|
47
|
+
*** EOF ***
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
OK!
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
*** Output of Markdown.pl ***
|
56
|
+
(not used anymore)
|
57
|
+
*** Output of Markdown.pl (parsed) ***
|
58
|
+
(not used anymore)
|
@@ -0,0 +1,46 @@
|
|
1
|
+
Comment
|
2
|
+
*** Parameters: ***
|
3
|
+
{}
|
4
|
+
*** Markdown input: ***
|
5
|
+
Here is an example of AppleScript:
|
6
|
+
|
7
|
+
tell application "Foo"
|
8
|
+
beep
|
9
|
+
end tell
|
10
|
+
tab
|
11
|
+
|
12
|
+
*** Output of inspect ***
|
13
|
+
md_el(:document,[
|
14
|
+
md_par(["Here is an example of AppleScript:"]),
|
15
|
+
md_el(:code,[],{:raw_code=>"tell application \"Foo\"\n beep\nend tell\n\ttab"},[])
|
16
|
+
],{},[])
|
17
|
+
*** Output of to_html ***
|
18
|
+
<p>Here is an example of AppleScript:</p>
|
19
|
+
|
20
|
+
<pre><code>tell application "Foo"
|
21
|
+
beep
|
22
|
+
end tell
|
23
|
+
tab</code></pre>
|
24
|
+
*** Output of to_latex ***
|
25
|
+
Here is an example of AppleScript:
|
26
|
+
|
27
|
+
\begin{verbatim}tell application "Foo"
|
28
|
+
beep
|
29
|
+
end tell
|
30
|
+
tab\end{verbatim}
|
31
|
+
*** Output of to_md ***
|
32
|
+
Here is an example of AppleScript:
|
33
|
+
*** Output of to_s ***
|
34
|
+
Here is an example of AppleScript:
|
35
|
+
*** EOF ***
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
OK!
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
*** Output of Markdown.pl ***
|
44
|
+
(not used anymore)
|
45
|
+
*** Output of Markdown.pl (parsed) ***
|
46
|
+
(not used anymore)
|
@@ -0,0 +1,40 @@
|
|
1
|
+
Write a comment abouth the test here.
|
2
|
+
*** Parameters: ***
|
3
|
+
{}
|
4
|
+
*** Markdown input: ***
|
5
|
+
> Code
|
6
|
+
>
|
7
|
+
> Ciao
|
8
|
+
*** Output of inspect ***
|
9
|
+
md_el(:document,[
|
10
|
+
md_el(:quote,[md_par(["Code"]), md_el(:code,[],{:raw_code=>"Ciao"},[])],{},[])
|
11
|
+
],{},[])
|
12
|
+
*** Output of to_html ***
|
13
|
+
<blockquote>
|
14
|
+
<p>Code</p>
|
15
|
+
|
16
|
+
<pre><code>Ciao</code></pre>
|
17
|
+
</blockquote>
|
18
|
+
*** Output of to_latex ***
|
19
|
+
\begin{quote}%
|
20
|
+
Code
|
21
|
+
|
22
|
+
\begin{verbatim}Ciao\end{verbatim}
|
23
|
+
|
24
|
+
\end{quote}
|
25
|
+
*** Output of to_md ***
|
26
|
+
Code
|
27
|
+
*** Output of to_s ***
|
28
|
+
Code
|
29
|
+
*** EOF ***
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
OK!
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
*** Output of Markdown.pl ***
|
38
|
+
(not used anymore)
|
39
|
+
*** Output of Markdown.pl (parsed) ***
|
40
|
+
(not used anymore)
|
@@ -0,0 +1,83 @@
|
|
1
|
+
Write a comment abouth the test here.
|
2
|
+
*** Parameters: ***
|
3
|
+
{}
|
4
|
+
*** Markdown input: ***
|
5
|
+
|
6
|
+
This is code (4 spaces):
|
7
|
+
|
8
|
+
Code
|
9
|
+
This is not code
|
10
|
+
|
11
|
+
Code
|
12
|
+
|
13
|
+
This is code (1 tab):
|
14
|
+
|
15
|
+
Code
|
16
|
+
This is not code
|
17
|
+
|
18
|
+
Code
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
*** Output of inspect ***
|
23
|
+
md_el(:document,[
|
24
|
+
md_par(["This is code (4 spaces):"]),
|
25
|
+
md_el(:code,[],{:raw_code=>"Code"},[]),
|
26
|
+
md_par(["This is not code"]),
|
27
|
+
md_el(:code,[],{:raw_code=>"Code"},[]),
|
28
|
+
md_par(["This is code (1 tab):"]),
|
29
|
+
md_el(:code,[],{:raw_code=>"Code"},[]),
|
30
|
+
md_par(["This is not code"]),
|
31
|
+
md_el(:code,[],{:raw_code=>"Code"},[])
|
32
|
+
],{},[])
|
33
|
+
*** Output of to_html ***
|
34
|
+
<p>This is code (4 spaces):</p>
|
35
|
+
|
36
|
+
<pre><code>Code</code></pre>
|
37
|
+
|
38
|
+
<p>This is not code</p>
|
39
|
+
|
40
|
+
<pre><code>Code</code></pre>
|
41
|
+
|
42
|
+
<p>This is code (1 tab):</p>
|
43
|
+
|
44
|
+
<pre><code>Code</code></pre>
|
45
|
+
|
46
|
+
<p>This is not code</p>
|
47
|
+
|
48
|
+
<pre><code>Code</code></pre>
|
49
|
+
*** Output of to_latex ***
|
50
|
+
This is code (4 spaces):
|
51
|
+
|
52
|
+
\begin{verbatim}Code\end{verbatim}
|
53
|
+
This is not code
|
54
|
+
|
55
|
+
\begin{verbatim}Code\end{verbatim}
|
56
|
+
This is code (1 tab):
|
57
|
+
|
58
|
+
\begin{verbatim}Code\end{verbatim}
|
59
|
+
This is not code
|
60
|
+
|
61
|
+
\begin{verbatim}Code\end{verbatim}
|
62
|
+
*** Output of to_md ***
|
63
|
+
This is code (4 spaces):
|
64
|
+
|
65
|
+
This is not code
|
66
|
+
|
67
|
+
This is code (1 tab):
|
68
|
+
|
69
|
+
This is not code
|
70
|
+
*** Output of to_s ***
|
71
|
+
This is code (4 spaces):This is not codeThis is code (1 tab):This is not code
|
72
|
+
*** EOF ***
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
OK!
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
*** Output of Markdown.pl ***
|
81
|
+
(not used anymore)
|
82
|
+
*** Output of Markdown.pl (parsed) ***
|
83
|
+
(not used anymore)
|
@@ -0,0 +1,37 @@
|
|
1
|
+
Write a comment here
|
2
|
+
*** Parameters: ***
|
3
|
+
{} # params
|
4
|
+
*** Markdown input: ***
|
5
|
+
1. abcd
|
6
|
+
efgh
|
7
|
+
ijkl
|
8
|
+
|
9
|
+
*** Output of inspect ***
|
10
|
+
md_el(:document,[
|
11
|
+
md_el(:ol,[md_el(:li_span,["abcd efgh ijkl"],{:want_my_paragraph=>false},[])],{},[])
|
12
|
+
],{},[])
|
13
|
+
*** Output of to_html ***
|
14
|
+
<ol>
|
15
|
+
<li>abcd efgh ijkl</li>
|
16
|
+
</ol>
|
17
|
+
*** Output of to_latex ***
|
18
|
+
\begin{enumerate}%
|
19
|
+
\item abcd efgh ijkl
|
20
|
+
|
21
|
+
\end{enumerate}
|
22
|
+
*** Output of to_md ***
|
23
|
+
1. abcd efgh ijkl
|
24
|
+
*** Output of to_s ***
|
25
|
+
abcd efgh ijkl
|
26
|
+
*** EOF ***
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
OK!
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
*** Output of Markdown.pl ***
|
35
|
+
(not used anymore)
|
36
|
+
*** Output of Markdown.pl (parsed) ***
|
37
|
+
(not used anymore)
|
@@ -0,0 +1,179 @@
|
|
1
|
+
Write a comment here
|
2
|
+
*** Parameters: ***
|
3
|
+
require 'maruku/ext/div'; {} # params
|
4
|
+
*** Markdown input: ***
|
5
|
+
+---------
|
6
|
+
| text
|
7
|
+
+----------
|
8
|
+
|
9
|
+
+---------
|
10
|
+
|text
|
11
|
+
|
12
|
+
+--
|
13
|
+
text
|
14
|
+
|
15
|
+
=--
|
16
|
+
|
17
|
+
|
18
|
+
+---------
|
19
|
+
| text
|
20
|
+
+----------
|
21
|
+
|
22
|
+
+---------
|
23
|
+
|text
|
24
|
+
|
25
|
+
+--
|
26
|
+
text
|
27
|
+
|
28
|
+
=--
|
29
|
+
|
30
|
+
|
31
|
+
+---------
|
32
|
+
| text
|
33
|
+
+----------
|
34
|
+
|
35
|
+
+---------
|
36
|
+
|text
|
37
|
+
|
38
|
+
+--
|
39
|
+
text
|
40
|
+
|
41
|
+
=--
|
42
|
+
|
43
|
+
+---------
|
44
|
+
| text
|
45
|
+
+----------
|
46
|
+
|
47
|
+
+---------
|
48
|
+
|text
|
49
|
+
|
50
|
+
+--
|
51
|
+
text
|
52
|
+
|
53
|
+
=--
|
54
|
+
|
55
|
+
*** Output of inspect ***
|
56
|
+
md_el(:document,[
|
57
|
+
md_el(:div,[md_par(["text"])],{:label=>nil,:num=>nil,:type=>nil},[]),
|
58
|
+
md_el(:div,[md_par(["text"])],{:label=>nil,:num=>nil,:type=>nil},[]),
|
59
|
+
md_el(:div,[md_par(["text"])],{:label=>nil,:num=>nil,:type=>nil},[]),
|
60
|
+
md_el(:div,[md_par(["text"])],{:label=>nil,:num=>nil,:type=>nil},[]),
|
61
|
+
md_el(:div,[md_par(["text"])],{:label=>nil,:num=>nil,:type=>nil},[]),
|
62
|
+
md_el(:div,[md_par(["text"])],{:label=>nil,:num=>nil,:type=>nil},[]),
|
63
|
+
md_el(:div,[md_par(["text"])],{:label=>nil,:num=>nil,:type=>nil},[]),
|
64
|
+
md_el(:div,[md_par(["text"])],{:label=>nil,:num=>nil,:type=>nil},[]),
|
65
|
+
md_el(:div,[md_par(["text"])],{:label=>nil,:num=>nil,:type=>nil},[]),
|
66
|
+
md_el(:div,[md_par(["text"])],{:label=>nil,:num=>nil,:type=>nil},[]),
|
67
|
+
md_el(:div,[md_par(["text"])],{:label=>nil,:num=>nil,:type=>nil},[]),
|
68
|
+
md_el(:div,[md_par(["text"])],{:label=>nil,:num=>nil,:type=>nil},[])
|
69
|
+
],{},[])
|
70
|
+
*** Output of to_html ***
|
71
|
+
<div>
|
72
|
+
<p>text</p>
|
73
|
+
</div>
|
74
|
+
|
75
|
+
<div>
|
76
|
+
<p>text</p>
|
77
|
+
</div>
|
78
|
+
|
79
|
+
<div>
|
80
|
+
<p>text</p>
|
81
|
+
</div>
|
82
|
+
|
83
|
+
<div>
|
84
|
+
<p>text</p>
|
85
|
+
</div>
|
86
|
+
|
87
|
+
<div>
|
88
|
+
<p>text</p>
|
89
|
+
</div>
|
90
|
+
|
91
|
+
<div>
|
92
|
+
<p>text</p>
|
93
|
+
</div>
|
94
|
+
|
95
|
+
<div>
|
96
|
+
<p>text</p>
|
97
|
+
</div>
|
98
|
+
|
99
|
+
<div>
|
100
|
+
<p>text</p>
|
101
|
+
</div>
|
102
|
+
|
103
|
+
<div>
|
104
|
+
<p>text</p>
|
105
|
+
</div>
|
106
|
+
|
107
|
+
<div>
|
108
|
+
<p>text</p>
|
109
|
+
</div>
|
110
|
+
|
111
|
+
<div>
|
112
|
+
<p>text</p>
|
113
|
+
</div>
|
114
|
+
|
115
|
+
<div>
|
116
|
+
<p>text</p>
|
117
|
+
</div>
|
118
|
+
*** Output of to_latex ***
|
119
|
+
text
|
120
|
+
|
121
|
+
text
|
122
|
+
|
123
|
+
text
|
124
|
+
|
125
|
+
text
|
126
|
+
|
127
|
+
text
|
128
|
+
|
129
|
+
text
|
130
|
+
|
131
|
+
text
|
132
|
+
|
133
|
+
text
|
134
|
+
|
135
|
+
text
|
136
|
+
|
137
|
+
text
|
138
|
+
|
139
|
+
text
|
140
|
+
|
141
|
+
text
|
142
|
+
*** Output of to_md ***
|
143
|
+
text
|
144
|
+
|
145
|
+
text
|
146
|
+
|
147
|
+
text
|
148
|
+
|
149
|
+
text
|
150
|
+
|
151
|
+
text
|
152
|
+
|
153
|
+
text
|
154
|
+
|
155
|
+
text
|
156
|
+
|
157
|
+
text
|
158
|
+
|
159
|
+
text
|
160
|
+
|
161
|
+
text
|
162
|
+
|
163
|
+
text
|
164
|
+
|
165
|
+
text
|
166
|
+
*** Output of to_s ***
|
167
|
+
texttexttexttexttexttexttexttexttexttexttexttext
|
168
|
+
*** EOF ***
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
OK!
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
*** Output of Markdown.pl ***
|
177
|
+
(not used anymore)
|
178
|
+
*** Output of Markdown.pl (parsed) ***
|
179
|
+
(not used anymore)
|