patcito-maruku 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +23 -0
- data/LICENSE +340 -0
- data/README.md +73 -0
- data/bin/maruku +196 -0
- data/bin/marutex +4 -0
- data/data/entities.xml +261 -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/docs/website/src/bluecloth.md +25 -0
- data/docs/website/src/download.md +31 -0
- data/docs/website/src/maruku.md +261 -0
- data/docs/website/src/proposal.md +271 -0
- data/lib/maruku.rb +132 -0
- data/lib/maruku/attributes.rb +138 -0
- data/lib/maruku/defaults.rb +69 -0
- data/lib/maruku/errors.rb +89 -0
- data/lib/maruku/ext/div.rb +121 -0
- data/lib/maruku/ext/fenced_code.rb +78 -0
- data/lib/maruku/ext/math.rb +37 -0
- data/lib/maruku/ext/math/elements.rb +21 -0
- data/lib/maruku/ext/math/latex_fix.rb +12 -0
- data/lib/maruku/ext/math/mathml_engines/blahtex.rb +93 -0
- data/lib/maruku/ext/math/mathml_engines/itex2mml.rb +39 -0
- data/lib/maruku/ext/math/mathml_engines/none.rb +21 -0
- data/lib/maruku/ext/math/mathml_engines/ritex.rb +24 -0
- data/lib/maruku/ext/math/parsing.rb +125 -0
- data/lib/maruku/ext/math/to_html.rb +237 -0
- data/lib/maruku/ext/math/to_latex.rb +36 -0
- data/lib/maruku/ext/yaml.rb +43 -0
- data/lib/maruku/helpers.rb +214 -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 +608 -0
- data/lib/maruku/input/parse_doc.rb +240 -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 +31 -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 +994 -0
- data/lib/maruku/output/to_latex.rb +580 -0
- data/lib/maruku/output/to_latex_entities.rb +101 -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 +54 -0
- data/lib/maruku/string_utils.rb +185 -0
- data/lib/maruku/structures.rb +143 -0
- data/lib/maruku/structures_inspect.rb +51 -0
- data/lib/maruku/structures_iterators.rb +48 -0
- data/lib/maruku/textile2.rb +1 -0
- data/lib/maruku/toc.rb +214 -0
- data/lib/maruku/usage/example1.rb +33 -0
- data/lib/maruku/version +0 -0
- data/lib/maruku/version.rb +54 -0
- data/spec/block_docs/abbreviations.md +52 -0
- data/spec/block_docs/alt.md +17 -0
- data/spec/block_docs/attributes/att2.md +20 -0
- data/spec/block_docs/attributes/att3.md +28 -0
- data/spec/block_docs/attributes/attributes.md +57 -0
- data/spec/block_docs/attributes/circular.md +26 -0
- data/spec/block_docs/attributes/default.md +22 -0
- data/spec/block_docs/blank.md +24 -0
- data/spec/block_docs/blanks_in_code.md +75 -0
- data/spec/block_docs/bug_def.md +16 -0
- data/spec/block_docs/bug_table.md +46 -0
- data/spec/block_docs/code.md +34 -0
- data/spec/block_docs/code2.md +28 -0
- data/spec/block_docs/code3.md +71 -0
- data/spec/block_docs/data_loss.md +25 -0
- data/spec/block_docs/divs/div1.md +167 -0
- data/spec/block_docs/divs/div2.md +21 -0
- data/spec/block_docs/divs/div3_nest.md +45 -0
- data/spec/block_docs/easy.md +15 -0
- data/spec/block_docs/email.md +20 -0
- data/spec/block_docs/encoding/iso-8859-1.md +23 -0
- data/spec/block_docs/encoding/utf-8.md +18 -0
- data/spec/block_docs/entities.md +94 -0
- data/spec/block_docs/escaping.md +67 -0
- data/spec/block_docs/extra_dl.md +52 -0
- data/spec/block_docs/extra_header_id.md +63 -0
- data/spec/block_docs/extra_table1.md +37 -0
- data/spec/block_docs/footnotes.md +97 -0
- data/spec/block_docs/headers.md +37 -0
- data/spec/block_docs/hex_entities.md +37 -0
- data/spec/block_docs/hrule.md +39 -0
- data/spec/block_docs/html2.md +22 -0
- data/spec/block_docs/html3.md +31 -0
- data/spec/block_docs/html4.md +25 -0
- data/spec/block_docs/html5.md +23 -0
- data/spec/block_docs/ie.md +49 -0
- data/spec/block_docs/images.md +90 -0
- data/spec/block_docs/images2.md +31 -0
- data/spec/block_docs/inline_html.md +152 -0
- data/spec/block_docs/inline_html2.md +21 -0
- data/spec/block_docs/links.md +152 -0
- data/spec/block_docs/links2.md +22 -0
- data/spec/block_docs/list1.md +46 -0
- data/spec/block_docs/list12.md +28 -0
- data/spec/block_docs/list2.md +56 -0
- data/spec/block_docs/list3.md +64 -0
- data/spec/block_docs/list4.md +89 -0
- data/spec/block_docs/lists.md +192 -0
- data/spec/block_docs/lists10.md +34 -0
- data/spec/block_docs/lists11.md +23 -0
- data/spec/block_docs/lists6.md +41 -0
- data/spec/block_docs/lists9.md +64 -0
- data/spec/block_docs/lists_after_paragraph.md +208 -0
- data/spec/block_docs/lists_ol.md +262 -0
- data/spec/block_docs/loss.md +16 -0
- data/spec/block_docs/math/equations.md +45 -0
- data/spec/block_docs/math/inline.md +46 -0
- data/spec/block_docs/math/math2.md +45 -0
- data/spec/block_docs/math/notmath.md +25 -0
- data/spec/block_docs/math/table.md +25 -0
- data/spec/block_docs/math/table2.md +42 -0
- data/spec/block_docs/misc_sw.md +525 -0
- data/spec/block_docs/notyet/escape.md +21 -0
- data/spec/block_docs/notyet/header_after_par.md +58 -0
- data/spec/block_docs/notyet/ticks.md +18 -0
- data/spec/block_docs/notyet/triggering.md +157 -0
- data/spec/block_docs/olist.md +45 -0
- data/spec/block_docs/one.md +15 -0
- data/spec/block_docs/paragraph.md +16 -0
- data/spec/block_docs/paragraph_rules/dont_merge_ref.md +42 -0
- data/spec/block_docs/paragraph_rules/tab_is_blank.md +24 -0
- data/spec/block_docs/paragraphs.md +46 -0
- data/spec/block_docs/pending/amps.md +15 -0
- data/spec/block_docs/pending/empty_cells.md +37 -0
- data/spec/block_docs/pending/link.md +72 -0
- data/spec/block_docs/pending/ref.md +21 -0
- data/spec/block_docs/recover/recover_links.md +15 -0
- data/spec/block_docs/red_tests/abbrev.md +679 -0
- data/spec/block_docs/red_tests/lists7.md +32 -0
- data/spec/block_docs/red_tests/lists7b.md +65 -0
- data/spec/block_docs/red_tests/lists8.md +42 -0
- data/spec/block_docs/red_tests/ref.md +23 -0
- data/spec/block_docs/red_tests/xml.md +35 -0
- data/spec/block_docs/references/long_example.md +71 -0
- data/spec/block_docs/references/spaces_and_numbers.md +15 -0
- data/spec/block_docs/smartypants.md +114 -0
- data/spec/block_docs/syntax_hl.md +52 -0
- data/spec/block_docs/table_attributes.md +34 -0
- data/spec/block_docs/test.md +19 -0
- data/spec/block_docs/underscore_in_words.md +15 -0
- data/spec/block_docs/wrapping.md +67 -0
- data/spec/block_docs/xml2.md +19 -0
- data/spec/block_docs/xml3.md +26 -0
- data/spec/block_docs/xml_instruction.md +52 -0
- data/spec/block_spec.rb +49 -0
- data/spec/span_spec.rb +254 -0
- data/spec/spec_helper.rb +6 -0
- metadata +247 -0
@@ -0,0 +1,21 @@
|
|
1
|
+
Write a comment abouth the test here.
|
2
|
+
*** Parameters: ***
|
3
|
+
{}
|
4
|
+
*** Markdown input: ***
|
5
|
+
`\\`
|
6
|
+
|
7
|
+
`\`
|
8
|
+
*** Output of inspect ***
|
9
|
+
md_el(:document,[md_par([md_code("\\\\")]), md_par([md_code("\\")])],{},[])
|
10
|
+
*** Output of to_html ***
|
11
|
+
<p><code>\\</code></p>
|
12
|
+
|
13
|
+
<p><code>\</code></p>
|
14
|
+
*** Output of to_latex ***
|
15
|
+
{\colorbox[rgb]{1.00,0.93,1.00}{\tt \char92\char92}}
|
16
|
+
|
17
|
+
{\colorbox[rgb]{1.00,0.93,1.00}{\tt \char92}}
|
18
|
+
*** Output of to_md ***
|
19
|
+
|
20
|
+
*** Output of to_s ***
|
21
|
+
|
@@ -0,0 +1,58 @@
|
|
1
|
+
Write a comment abouth the test here.
|
2
|
+
*** Parameters: ***
|
3
|
+
{:title=>"header"}
|
4
|
+
*** Markdown input: ***
|
5
|
+
Paragraph
|
6
|
+
### header ###
|
7
|
+
|
8
|
+
Paragraph
|
9
|
+
header
|
10
|
+
------
|
11
|
+
|
12
|
+
Paragraph
|
13
|
+
header
|
14
|
+
======
|
15
|
+
|
16
|
+
*** Output of inspect ***
|
17
|
+
md_el(:document,[
|
18
|
+
md_par(["Paragraph"]),
|
19
|
+
md_el(:header,["header"],{:level=>3},[]),
|
20
|
+
md_par(["Paragraph"]),
|
21
|
+
md_el(:header,["header"],{:level=>2},[]),
|
22
|
+
md_par(["Paragraph"]),
|
23
|
+
md_el(:header,["header"],{:level=>1},[])
|
24
|
+
],{},[])
|
25
|
+
*** Output of to_html ***
|
26
|
+
<p>Paragraph</p>
|
27
|
+
|
28
|
+
<h3 id='header'>header</h3>
|
29
|
+
|
30
|
+
<p>Paragraph</p>
|
31
|
+
|
32
|
+
<h2 id='header'>header</h2>
|
33
|
+
|
34
|
+
<p>Paragraph</p>
|
35
|
+
|
36
|
+
<h1 id='header'>header</h1>
|
37
|
+
*** Output of to_latex ***
|
38
|
+
Paragraph
|
39
|
+
|
40
|
+
\hypertarget{header}{}\subsubsection*{{header}}\label{header}
|
41
|
+
|
42
|
+
Paragraph
|
43
|
+
|
44
|
+
\hypertarget{header}{}\subsection*{{header}}\label{header}
|
45
|
+
|
46
|
+
Paragraph
|
47
|
+
|
48
|
+
\hypertarget{header}{}\section*{{header}}\label{header}
|
49
|
+
*** Output of to_md ***
|
50
|
+
Paragraph
|
51
|
+
|
52
|
+
headerParagraph
|
53
|
+
|
54
|
+
headerParagraph
|
55
|
+
|
56
|
+
header
|
57
|
+
*** Output of to_s ***
|
58
|
+
ParagraphheaderParagraphheaderParagraphheader
|
@@ -0,0 +1,18 @@
|
|
1
|
+
Write a comment abouth the test here.
|
2
|
+
*** Parameters: ***
|
3
|
+
{}
|
4
|
+
*** Markdown input: ***
|
5
|
+
|
6
|
+
``There is a literal backtick (`) here.``
|
7
|
+
|
8
|
+
|
9
|
+
*** Output of inspect ***
|
10
|
+
md_el(:document,[md_par([md_code("There is a literal backtick (`) here.")])],{},[])
|
11
|
+
*** Output of to_html ***
|
12
|
+
<p><code>There is a literal backtick (`) here.</code></p>
|
13
|
+
*** Output of to_latex ***
|
14
|
+
{\colorbox[rgb]{1.00,0.93,1.00}{\tt There~is~a~literal~backtick~\char40\char96\char41~here\char46}}
|
15
|
+
*** Output of to_md ***
|
16
|
+
|
17
|
+
*** Output of to_s ***
|
18
|
+
|
@@ -0,0 +1,157 @@
|
|
1
|
+
Write a comment abouth the test here.
|
2
|
+
*** Parameters: ***
|
3
|
+
{}
|
4
|
+
*** Markdown input: ***
|
5
|
+
Paragraph, list with no space:
|
6
|
+
* ciao
|
7
|
+
|
8
|
+
Paragraph, list with 1 space:
|
9
|
+
* ciao
|
10
|
+
|
11
|
+
Paragraph, list with 3 space:
|
12
|
+
* ciao
|
13
|
+
|
14
|
+
Paragraph, list with 4 spaces:
|
15
|
+
* ciao
|
16
|
+
|
17
|
+
Paragraph, list with 1 tab:
|
18
|
+
* ciao
|
19
|
+
|
20
|
+
Paragraph (1 space after), list with no space:
|
21
|
+
* ciao
|
22
|
+
|
23
|
+
Paragraph (2 spaces after), list with no space:
|
24
|
+
* ciao
|
25
|
+
|
26
|
+
Paragraph (3 spaces after), list with no space:
|
27
|
+
* ciao
|
28
|
+
|
29
|
+
Paragraph with block quote:
|
30
|
+
> Quoted
|
31
|
+
|
32
|
+
Paragraph with header:
|
33
|
+
### header ###
|
34
|
+
|
35
|
+
Paragraph with header on two lines:
|
36
|
+
header
|
37
|
+
------
|
38
|
+
|
39
|
+
*** Output of inspect ***
|
40
|
+
md_el(:document,[
|
41
|
+
md_par(["Paragraph, list with no space: * ciao"]),
|
42
|
+
md_par(["Paragraph, list with 1 space: * ciao"]),
|
43
|
+
md_par(["Paragraph, list with 3 space: * ciao"]),
|
44
|
+
md_par(["Paragraph, list with 4 spaces: * ciao"]),
|
45
|
+
md_par(["Paragraph, list with 1 tab: * ciao"]),
|
46
|
+
md_par(["Paragraph (1 space after), list with no space: * ciao"]),
|
47
|
+
md_par([
|
48
|
+
"Paragraph (2 spaces after), list with no space:",
|
49
|
+
md_el(:linebreak,[],{},[]),
|
50
|
+
"* ciao"
|
51
|
+
]),
|
52
|
+
md_par([
|
53
|
+
"Paragraph (3 spaces after), list with no space: ",
|
54
|
+
md_el(:linebreak,[],{},[]),
|
55
|
+
"* ciao"
|
56
|
+
]),
|
57
|
+
md_par(["Paragraph with block quote:"]),
|
58
|
+
md_el(:quote,[md_par(["Quoted"])],{},[]),
|
59
|
+
md_par(["Paragraph with header:"]),
|
60
|
+
md_el(:header,["header"],{:level=>3},[]),
|
61
|
+
md_par(["Paragraph with header on two lines:"]),
|
62
|
+
md_el(:header,["header"],{:level=>2},[])
|
63
|
+
],{},[])
|
64
|
+
*** Output of to_html ***
|
65
|
+
<p>Paragraph, list with no space: * ciao</p>
|
66
|
+
|
67
|
+
<p>Paragraph, list with 1 space: * ciao</p>
|
68
|
+
|
69
|
+
<p>Paragraph, list with 3 space: * ciao</p>
|
70
|
+
|
71
|
+
<p>Paragraph, list with 4 spaces: * ciao</p>
|
72
|
+
|
73
|
+
<p>Paragraph, list with 1 tab: * ciao</p>
|
74
|
+
|
75
|
+
<p>Paragraph (1 space after), list with no space: * ciao</p>
|
76
|
+
|
77
|
+
<p>Paragraph (2 spaces after), list with no space:<br />* ciao</p>
|
78
|
+
|
79
|
+
<p>Paragraph (3 spaces after), list with no space: <br />* ciao</p>
|
80
|
+
|
81
|
+
<p>Paragraph with block quote:</p>
|
82
|
+
|
83
|
+
<blockquote>
|
84
|
+
<p>Quoted</p>
|
85
|
+
</blockquote>
|
86
|
+
|
87
|
+
<p>Paragraph with header:</p>
|
88
|
+
|
89
|
+
<h3 id='header'>header</h3>
|
90
|
+
|
91
|
+
<p>Paragraph with header on two lines:</p>
|
92
|
+
|
93
|
+
<h2 id='header'>header</h2>
|
94
|
+
*** Output of to_latex ***
|
95
|
+
Paragraph, list with no space: * ciao
|
96
|
+
|
97
|
+
Paragraph, list with 1 space: * ciao
|
98
|
+
|
99
|
+
Paragraph, list with 3 space: * ciao
|
100
|
+
|
101
|
+
Paragraph, list with 4 spaces: * ciao
|
102
|
+
|
103
|
+
Paragraph, list with 1 tab: * ciao
|
104
|
+
|
105
|
+
Paragraph (1 space after), list with no space: * ciao
|
106
|
+
|
107
|
+
Paragraph (2 spaces after), list with no space:\newline * ciao
|
108
|
+
|
109
|
+
Paragraph (3 spaces after), list with no space: \newline * ciao
|
110
|
+
|
111
|
+
Paragraph with block quote:
|
112
|
+
|
113
|
+
\begin{quote}%
|
114
|
+
Quoted
|
115
|
+
|
116
|
+
|
117
|
+
\end{quote}
|
118
|
+
Paragraph with header:
|
119
|
+
|
120
|
+
\hypertarget{header}{}\subsubsection*{{header}}\label{header}
|
121
|
+
|
122
|
+
Paragraph with header on two lines:
|
123
|
+
|
124
|
+
\hypertarget{header}{}\subsection*{{header}}\label{header}
|
125
|
+
*** Output of to_md ***
|
126
|
+
Paragraph, list with no space: * ciao
|
127
|
+
|
128
|
+
Paragraph, list with 1 space: * ciao
|
129
|
+
|
130
|
+
Paragraph, list with 3 space: * ciao
|
131
|
+
|
132
|
+
Paragraph, list with 4 spaces: * ciao
|
133
|
+
|
134
|
+
Paragraph, list with 1 tab: * ciao
|
135
|
+
|
136
|
+
Paragraph (1 space after), list with no
|
137
|
+
space: * ciao
|
138
|
+
|
139
|
+
Paragraph (2 spaces after), list with
|
140
|
+
no space:
|
141
|
+
* ciao
|
142
|
+
|
143
|
+
Paragraph (3 spaces after), list with
|
144
|
+
no space:
|
145
|
+
* ciao
|
146
|
+
|
147
|
+
Paragraph with block quote:
|
148
|
+
|
149
|
+
Quoted
|
150
|
+
|
151
|
+
Paragraph with header:
|
152
|
+
|
153
|
+
headerParagraph with header on two lines:
|
154
|
+
|
155
|
+
header
|
156
|
+
*** Output of to_s ***
|
157
|
+
Paragraph, list with no space: * ciaoParagraph, list with 1 space: * ciaoParagraph, list with 3 space: * ciaoParagraph, list with 4 spaces: * ciaoParagraph, list with 1 tab: * ciaoParagraph (1 space after), list with no space: * ciaoParagraph (2 spaces after), list with no space:* ciaoParagraph (3 spaces after), list with no space: * ciaoParagraph with block quote:QuotedParagraph with header:headerParagraph with header on two lines:header
|
@@ -0,0 +1,45 @@
|
|
1
|
+
|
2
|
+
*** Parameters: ***
|
3
|
+
{}
|
4
|
+
*** Markdown input: ***
|
5
|
+
This is a list:
|
6
|
+
|
7
|
+
2. one
|
8
|
+
2. two
|
9
|
+
3. three
|
10
|
+
*** Output of inspect ***
|
11
|
+
md_el(:document,[
|
12
|
+
md_par(["This is a list:"]),
|
13
|
+
md_el(:ol,[
|
14
|
+
md_el(:li_span,["one"],{:want_my_paragraph=>false},[]),
|
15
|
+
md_el(:li_span,["two"],{:want_my_paragraph=>false},[]),
|
16
|
+
md_el(:li_span,["three"],{:want_my_paragraph=>false},[])
|
17
|
+
],{},[])
|
18
|
+
],{},[])
|
19
|
+
*** Output of to_html ***
|
20
|
+
<p>This is a list:</p>
|
21
|
+
|
22
|
+
<ol>
|
23
|
+
<li>one</li>
|
24
|
+
|
25
|
+
<li>two</li>
|
26
|
+
|
27
|
+
<li>three</li>
|
28
|
+
</ol>
|
29
|
+
*** Output of to_latex ***
|
30
|
+
This is a list:
|
31
|
+
|
32
|
+
\begin{enumerate}%
|
33
|
+
\item one
|
34
|
+
\item two
|
35
|
+
\item three
|
36
|
+
|
37
|
+
\end{enumerate}
|
38
|
+
*** Output of to_md ***
|
39
|
+
This is a list:
|
40
|
+
|
41
|
+
1. one
|
42
|
+
2. two
|
43
|
+
3. three
|
44
|
+
*** Output of to_s ***
|
45
|
+
This is a list:onetwothree
|
@@ -0,0 +1,15 @@
|
|
1
|
+
Write a comment abouth the test here.
|
2
|
+
*** Parameters: ***
|
3
|
+
{}
|
4
|
+
*** Markdown input: ***
|
5
|
+
One line
|
6
|
+
*** Output of inspect ***
|
7
|
+
md_el(:document,[md_par(["One line"])],{},[])
|
8
|
+
*** Output of to_html ***
|
9
|
+
<p>One line</p>
|
10
|
+
*** Output of to_latex ***
|
11
|
+
One line
|
12
|
+
*** Output of to_md ***
|
13
|
+
One line
|
14
|
+
*** Output of to_s ***
|
15
|
+
One line
|
@@ -0,0 +1,16 @@
|
|
1
|
+
Write a comment abouth the test here.
|
2
|
+
*** Parameters: ***
|
3
|
+
{}
|
4
|
+
*** Markdown input: ***
|
5
|
+
Paragraph
|
6
|
+
|
7
|
+
*** Output of inspect ***
|
8
|
+
md_el(:document,[md_par(["Paragraph"])],{},[])
|
9
|
+
*** Output of to_html ***
|
10
|
+
<p>Paragraph</p>
|
11
|
+
*** Output of to_latex ***
|
12
|
+
Paragraph
|
13
|
+
*** Output of to_md ***
|
14
|
+
Paragraph
|
15
|
+
*** Output of to_s ***
|
16
|
+
Paragraph
|
@@ -0,0 +1,42 @@
|
|
1
|
+
Paragraphs eats everything, but not link definitions.
|
2
|
+
*** Parameters: ***
|
3
|
+
{}
|
4
|
+
*** Markdown input: ***
|
5
|
+
Paragraph
|
6
|
+
[google1]: #
|
7
|
+
|
8
|
+
Paragraph
|
9
|
+
[google2]: #
|
10
|
+
|
11
|
+
Paragraph
|
12
|
+
[google3]: #
|
13
|
+
|
14
|
+
*** Output of inspect ***
|
15
|
+
md_el(:document,[
|
16
|
+
md_par(["Paragraph"]),
|
17
|
+
md_ref_def("google1", "#", {:title=>nil}),
|
18
|
+
md_par(["Paragraph"]),
|
19
|
+
md_ref_def("google2", "#", {:title=>nil}),
|
20
|
+
md_par(["Paragraph"]),
|
21
|
+
md_ref_def("google3", "#", {:title=>nil})
|
22
|
+
],{},[])
|
23
|
+
*** Output of to_html ***
|
24
|
+
<p>Paragraph</p>
|
25
|
+
|
26
|
+
<p>Paragraph</p>
|
27
|
+
|
28
|
+
<p>Paragraph</p>
|
29
|
+
*** Output of to_latex ***
|
30
|
+
Paragraph
|
31
|
+
|
32
|
+
Paragraph
|
33
|
+
|
34
|
+
Paragraph
|
35
|
+
*** Output of to_md ***
|
36
|
+
Paragraph
|
37
|
+
|
38
|
+
Paragraph
|
39
|
+
|
40
|
+
Paragraph
|
41
|
+
*** Output of to_s ***
|
42
|
+
ParagraphParagraphParagraph
|
@@ -0,0 +1,24 @@
|
|
1
|
+
Paragraphs eat blank lines.
|
2
|
+
The following are two paragraphs:
|
3
|
+
*** Parameters: ***
|
4
|
+
{}
|
5
|
+
*** Markdown input: ***
|
6
|
+
Paragraph1
|
7
|
+
|
8
|
+
Paragraph2
|
9
|
+
*** Output of inspect ***
|
10
|
+
md_el(:document,[md_par(["Paragraph1"]), md_par(["Paragraph2"])],{},[])
|
11
|
+
*** Output of to_html ***
|
12
|
+
<p>Paragraph1</p>
|
13
|
+
|
14
|
+
<p>Paragraph2</p>
|
15
|
+
*** Output of to_latex ***
|
16
|
+
Paragraph1
|
17
|
+
|
18
|
+
Paragraph2
|
19
|
+
*** Output of to_md ***
|
20
|
+
Paragraph1
|
21
|
+
|
22
|
+
Paragraph2
|
23
|
+
*** Output of to_s ***
|
24
|
+
Paragraph1Paragraph2
|
@@ -0,0 +1,46 @@
|
|
1
|
+
Write a comment abouth the test here.
|
2
|
+
*** Parameters: ***
|
3
|
+
{}
|
4
|
+
*** Markdown input: ***
|
5
|
+
Paragraph 1
|
6
|
+
|
7
|
+
Paragraph 2
|
8
|
+
|
9
|
+
|
10
|
+
Paragraph 3
|
11
|
+
Paragraph 4
|
12
|
+
Paragraph Br->
|
13
|
+
Paragraph 5
|
14
|
+
|
15
|
+
|
16
|
+
*** Output of inspect ***
|
17
|
+
md_el(:document,[
|
18
|
+
md_par(["Paragraph 1"]),
|
19
|
+
md_par(["Paragraph 2"]),
|
20
|
+
md_par([
|
21
|
+
"Paragraph 3 Paragraph 4 Paragraph Br->",
|
22
|
+
md_el(:linebreak,[],{},[]),
|
23
|
+
"Paragraph 5"
|
24
|
+
])
|
25
|
+
],{},[])
|
26
|
+
*** Output of to_html ***
|
27
|
+
<p>Paragraph 1</p>
|
28
|
+
|
29
|
+
<p>Paragraph 2</p>
|
30
|
+
|
31
|
+
<p>Paragraph 3 Paragraph 4 Paragraph Br-><br />Paragraph 5</p>
|
32
|
+
*** Output of to_latex ***
|
33
|
+
Paragraph 1
|
34
|
+
|
35
|
+
Paragraph 2
|
36
|
+
|
37
|
+
Paragraph 3 Paragraph 4 Paragraph Br-{\tt \char62}\newline Paragraph 5
|
38
|
+
*** Output of to_md ***
|
39
|
+
Paragraph 1
|
40
|
+
|
41
|
+
Paragraph 2
|
42
|
+
|
43
|
+
Paragraph 3 Paragraph 4 Paragraph Br->
|
44
|
+
Paragraph 5
|
45
|
+
*** Output of to_s ***
|
46
|
+
Paragraph 1Paragraph 2Paragraph 3 Paragraph 4 Paragraph Br->Paragraph 5
|