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,48 @@
|
|
1
|
+
subtitle: news
|
2
|
+
author: Andrea Censi
|
3
|
+
company: Università La Sapienza
|
4
|
+
css: math.css
|
5
|
+
|
6
|
+
RDK news
|
7
|
+
========
|
8
|
+
|
9
|
+
Profiling
|
10
|
+
---------------------------------------------------------
|
11
|
+
|
12
|
+
1. `ragent2` writes profiling information on a pipe.
|
13
|
+
2. `rdk-profiler` reads the pipe and creates graphs in HTML+Javascript.
|
14
|
+
3. The user reads the data on a browser.
|
15
|
+
|
16
|
+
Things logged
|
17
|
+
-----------------------------------------------------------
|
18
|
+
|
19
|
+
17288397 1730000 0 16384 END pantiltClient
|
20
|
+
17288439 1730000 0 16384 START pantiltClient
|
21
|
+
17288564 1730000 0 16384 LOCK pantiltClient:tilt
|
22
|
+
17288622 1730000 0 16384 UNLOCK pantiltClient:tilt
|
23
|
+
|
24
|
+
* `START/END`: how much does it take to ...?
|
25
|
+
|
26
|
+
Footnotes 1/2
|
27
|
+
---------------------------------------------------
|
28
|
+
|
29
|
+
You can use footnotes [^1]
|
30
|
+
|
31
|
+
[^1]: And they work.
|
32
|
+
|
33
|
+
Footnotes 2/2
|
34
|
+
---------------------------------------------------
|
35
|
+
|
36
|
+
Each footnote on its page [^2]
|
37
|
+
|
38
|
+
[^2]: alone.
|
39
|
+
|
40
|
+
And now: math!
|
41
|
+
---------------------------------------------------
|
42
|
+
|
43
|
+
Consider, for example the group $\int_{a}^{b} x^{a} db$ of
|
44
|
+
|
45
|
+
\[ \alpha_{\beta}^{\gamma} \]
|
46
|
+
|
47
|
+
Unfortunately S5 and MathML are mutually exclusive.
|
48
|
+
See <http://meyerweb.com/eric/thoughts/category/tech/s5/> for explanations.
|
@@ -0,0 +1,64 @@
|
|
1
|
+
Write a comment abouth the test here.
|
2
|
+
*** Parameters: ***
|
3
|
+
{}
|
4
|
+
*** Markdown input: ***
|
5
|
+
|
6
|
+
The HTML specification is maintained by the W3C.
|
7
|
+
|
8
|
+
*[HTML]: Hyper Text Markup Language
|
9
|
+
*[W3C]: World Wide Web Consortium
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
Operation Tigra Genesis is going well.
|
14
|
+
|
15
|
+
*[Tigra Genesis]:
|
16
|
+
*** Output of inspect ***
|
17
|
+
md_el(:document,[
|
18
|
+
md_par([
|
19
|
+
"The ",
|
20
|
+
md_el(:abbr,["HTML"],{:title=>"Hyper Text Markup Language"},[]),
|
21
|
+
" specification is maintained by the ",
|
22
|
+
md_el(:abbr,["W3C"],{:title=>"World Wide Web Consortium"},[]),
|
23
|
+
"."
|
24
|
+
]),
|
25
|
+
md_el(:abbr_def,[],{:abbr=>"HTML",:text=>"Hyper Text Markup Language"},[]),
|
26
|
+
md_el(:abbr_def,[],{:abbr=>"W3C",:text=>"World Wide Web Consortium"},[]),
|
27
|
+
md_par([
|
28
|
+
"Operation ",
|
29
|
+
md_el(:abbr,["Tigra Genesis"],{:title=>nil},[]),
|
30
|
+
" is going well."
|
31
|
+
]),
|
32
|
+
md_el(:abbr_def,[],{:abbr=>"Tigra Genesis",:text=>nil},[])
|
33
|
+
],{},[])
|
34
|
+
*** Output of to_html ***
|
35
|
+
<p>The <abbr title='Hyper Text Markup Language'>HTML</abbr> specification is maintained by the <abbr title='World Wide Web Consortium'>W3C</abbr>.</p>
|
36
|
+
|
37
|
+
<p>Operation <abbr>Tigra Genesis</abbr> is going well.</p>
|
38
|
+
*** Output of to_latex ***
|
39
|
+
The HTML specification is maintained by the W3C.
|
40
|
+
|
41
|
+
Operation Tigra Genesis is going well.
|
42
|
+
*** Output of to_md ***
|
43
|
+
The HTMLspecification is maintained by
|
44
|
+
the W3C.
|
45
|
+
|
46
|
+
*[HTML]: Hyper Text Markup Language
|
47
|
+
*[W3C]: World Wide Web Consortium
|
48
|
+
Operation Tigra Genesisis going well.
|
49
|
+
|
50
|
+
*[Tigra Genesis]:
|
51
|
+
*** Output of to_s ***
|
52
|
+
The HTML specification is maintained by the W3C.Operation Tigra Genesis is going well.
|
53
|
+
*** EOF ***
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
OK!
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
*** Output of Markdown.pl ***
|
62
|
+
(not used anymore)
|
63
|
+
*** Output of Markdown.pl (parsed) ***
|
64
|
+
(not used anymore)
|
@@ -0,0 +1,29 @@
|
|
1
|
+
Write a comment here
|
2
|
+
*** Parameters: ***
|
3
|
+
{} # params
|
4
|
+
*** Markdown input: ***
|
5
|
+
![bar](/foo.jpg)
|
6
|
+
|
7
|
+
|
8
|
+
*** Output of inspect ***
|
9
|
+
md_el(:document,[md_par([md_im_image(["bar"], "/foo.jpg", nil)])],{},[])
|
10
|
+
*** Output of to_html ***
|
11
|
+
<p><img src='/foo.jpg' alt='bar' /></p>
|
12
|
+
*** Output of to_latex ***
|
13
|
+
|
14
|
+
*** Output of to_md ***
|
15
|
+
bar
|
16
|
+
*** Output of to_s ***
|
17
|
+
bar
|
18
|
+
*** EOF ***
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
OK!
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
*** Output of Markdown.pl ***
|
27
|
+
(not used anymore)
|
28
|
+
*** Output of Markdown.pl (parsed) ***
|
29
|
+
(not used anymore)
|
@@ -0,0 +1,32 @@
|
|
1
|
+
|
2
|
+
*** Parameters: ***
|
3
|
+
{}
|
4
|
+
*** Markdown input: ***
|
5
|
+
{a}: a
|
6
|
+
{:b: a}
|
7
|
+
|
8
|
+
*** Output of inspect ***
|
9
|
+
md_el(:document,[
|
10
|
+
md_el(:ald,[],{:ald=>[[:ref, "a"]],:ald_id=>"a"},[]),
|
11
|
+
md_el(:ald,[],{:ald=>[[:ref, "a"]],:ald_id=>"b"},[])
|
12
|
+
],{},[])
|
13
|
+
*** Output of to_html ***
|
14
|
+
|
15
|
+
*** Output of to_latex ***
|
16
|
+
|
17
|
+
*** Output of to_md ***
|
18
|
+
|
19
|
+
*** Output of to_s ***
|
20
|
+
|
21
|
+
*** EOF ***
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
OK!
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
*** Output of Markdown.pl ***
|
30
|
+
(not used anymore)
|
31
|
+
*** Output of Markdown.pl (parsed) ***
|
32
|
+
(not used anymore)
|
@@ -0,0 +1,40 @@
|
|
1
|
+
IALs can refer to element before or after.
|
2
|
+
*** Parameters: ***
|
3
|
+
{}
|
4
|
+
*** Markdown input: ***
|
5
|
+
Paragraph1
|
6
|
+
{:#par1}
|
7
|
+
|
8
|
+
{:#par2}
|
9
|
+
Paragraph2
|
10
|
+
*** Output of inspect ***
|
11
|
+
md_el(:document,[
|
12
|
+
md_par(["Paragraph1"], [[:id, "par1"]]),
|
13
|
+
md_par(["Paragraph2"], [[:id, "par2"]])
|
14
|
+
],{},[])
|
15
|
+
*** Output of to_html ***
|
16
|
+
<p id='par1'>Paragraph1</p>
|
17
|
+
|
18
|
+
<p id='par2'>Paragraph2</p>
|
19
|
+
*** Output of to_latex ***
|
20
|
+
Paragraph1
|
21
|
+
|
22
|
+
Paragraph2
|
23
|
+
*** Output of to_md ***
|
24
|
+
Paragraph1
|
25
|
+
|
26
|
+
Paragraph2
|
27
|
+
*** Output of to_s ***
|
28
|
+
Paragraph1Paragraph2
|
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,69 @@
|
|
1
|
+
This is a simple test for attributes
|
2
|
+
*** Parameters: ***
|
3
|
+
{}
|
4
|
+
*** Markdown input: ***
|
5
|
+
|
6
|
+
Header with attributes {#header1}
|
7
|
+
----------------------
|
8
|
+
|
9
|
+
### Header with attributes ### {#header2}
|
10
|
+
|
11
|
+
### Header no attributes ###
|
12
|
+
|
13
|
+
{:warn2}Paragraph with a.
|
14
|
+
{#par1}
|
15
|
+
|
16
|
+
Paragraph with *emphasis*{:hello notfound}
|
17
|
+
{#par2}
|
18
|
+
|
19
|
+
{:hello: .chello}
|
20
|
+
*** Output of inspect ***
|
21
|
+
md_el(:document,[
|
22
|
+
md_el(:header,["Header with attributes"],{:level=>2},[[:id, "header1"]]),
|
23
|
+
md_el(:header,["Header with attributes"],{:level=>3},[[:id, "header2"]]),
|
24
|
+
md_el(:header,["Header no attributes"],{:level=>3},[]),
|
25
|
+
md_par(["Paragraph with a."], [[:id, "par1"]]),
|
26
|
+
md_par([
|
27
|
+
"Paragraph with ",
|
28
|
+
md_em(["emphasis"], [[:ref, "hello"], [:ref, "notfound"]])
|
29
|
+
], [[:id, "par2"]]),
|
30
|
+
md_el(:ald,[],{:ald=>[[:class, "chello"]],:ald_id=>"hello"},[])
|
31
|
+
],{},[])
|
32
|
+
*** Output of to_html ***
|
33
|
+
<h2 id='header1'>Header with attributes</h2>
|
34
|
+
|
35
|
+
<h3 id='header2'>Header with attributes</h3>
|
36
|
+
|
37
|
+
<h3 id='header_no_attributes'>Header no attributes</h3>
|
38
|
+
|
39
|
+
<p id='par1'>Paragraph with a.</p>
|
40
|
+
|
41
|
+
<p id='par2'>Paragraph with <em class='chello'>emphasis</em></p>
|
42
|
+
*** Output of to_latex ***
|
43
|
+
\hypertarget{header1}{}\subsection*{{Header with attributes}}\label{header1}
|
44
|
+
|
45
|
+
\hypertarget{header2}{}\subsubsection*{{Header with attributes}}\label{header2}
|
46
|
+
|
47
|
+
\hypertarget{header_no_attributes}{}\subsubsection*{{Header no attributes}}\label{header_no_attributes}
|
48
|
+
|
49
|
+
Paragraph with a.
|
50
|
+
|
51
|
+
Paragraph with \emph{emphasis}
|
52
|
+
*** Output of to_md ***
|
53
|
+
Header with attributesHeader with attributesHeader no attributesParagraph with a.
|
54
|
+
|
55
|
+
Paragraph with emphasis
|
56
|
+
*** Output of to_s ***
|
57
|
+
Header with attributesHeader with attributesHeader no attributesParagraph with a.Paragraph with emphasis
|
58
|
+
*** EOF ***
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
OK!
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
*** Output of Markdown.pl ***
|
67
|
+
(not used anymore)
|
68
|
+
*** Output of Markdown.pl (parsed) ***
|
69
|
+
(not used anymore)
|
@@ -0,0 +1,38 @@
|
|
1
|
+
|
2
|
+
*** Parameters: ***
|
3
|
+
{}
|
4
|
+
*** Markdown input: ***
|
5
|
+
|
6
|
+
Paragraph
|
7
|
+
{:a}
|
8
|
+
|
9
|
+
|
10
|
+
{:a: b}
|
11
|
+
{:b: a}
|
12
|
+
|
13
|
+
*** Output of inspect ***
|
14
|
+
md_el(:document,[
|
15
|
+
md_par(["Paragraph"], [[:ref, "a"]]),
|
16
|
+
md_el(:ald,[],{:ald=>[[:ref, "b"]],:ald_id=>"a"},[]),
|
17
|
+
md_el(:ald,[],{:ald=>[[:ref, "a"]],:ald_id=>"b"},[])
|
18
|
+
],{},[])
|
19
|
+
*** Output of to_html ***
|
20
|
+
<p>Paragraph</p>
|
21
|
+
*** Output of to_latex ***
|
22
|
+
Paragraph
|
23
|
+
*** Output of to_md ***
|
24
|
+
Paragraph
|
25
|
+
*** Output of to_s ***
|
26
|
+
Paragraph
|
27
|
+
*** EOF ***
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
OK!
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
*** Output of Markdown.pl ***
|
36
|
+
(not used anymore)
|
37
|
+
*** Output of Markdown.pl (parsed) ***
|
38
|
+
(not used anymore)
|
@@ -0,0 +1,34 @@
|
|
1
|
+
This shows the use of default attributes list.
|
2
|
+
*** Parameters: ***
|
3
|
+
{}
|
4
|
+
*** Markdown input: ***
|
5
|
+
Paragraph2
|
6
|
+
{#2}
|
7
|
+
|
8
|
+
{paragraph}: .maruku-par
|
9
|
+
|
10
|
+
*** Output of inspect ***
|
11
|
+
md_el(:document,[
|
12
|
+
md_par(["Paragraph2"], [[:id, "2"]]),
|
13
|
+
md_el(:ald,[],{:ald=>[[:class, "maruku-par"]],:ald_id=>"paragraph"},[])
|
14
|
+
],{},[])
|
15
|
+
*** Output of to_html ***
|
16
|
+
<p class='maruku-par' id='2'>Paragraph2</p>
|
17
|
+
*** Output of to_latex ***
|
18
|
+
Paragraph2
|
19
|
+
*** Output of to_md ***
|
20
|
+
Paragraph2
|
21
|
+
*** Output of to_s ***
|
22
|
+
Paragraph2
|
23
|
+
*** EOF ***
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
OK!
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
*** Output of Markdown.pl ***
|
32
|
+
(not used anymore)
|
33
|
+
*** Output of Markdown.pl (parsed) ***
|
34
|
+
(not used anymore)
|
@@ -0,0 +1,36 @@
|
|
1
|
+
Write a comment about the test here.
|
2
|
+
*** Parameters: ***
|
3
|
+
{}
|
4
|
+
*** Markdown input: ***
|
5
|
+
|
6
|
+
Linea 1
|
7
|
+
|
8
|
+
Linea 2
|
9
|
+
*** Output of inspect ***
|
10
|
+
md_el(:document,[md_par(["Linea 1"]), md_par(["Linea 2"])],{},[])
|
11
|
+
*** Output of to_html ***
|
12
|
+
<p>Linea 1</p>
|
13
|
+
|
14
|
+
<p>Linea 2</p>
|
15
|
+
*** Output of to_latex ***
|
16
|
+
Linea 1
|
17
|
+
|
18
|
+
Linea 2
|
19
|
+
*** Output of to_md ***
|
20
|
+
Linea 1
|
21
|
+
|
22
|
+
Linea 2
|
23
|
+
*** Output of to_s ***
|
24
|
+
Linea 1Linea 2
|
25
|
+
*** EOF ***
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
OK!
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
*** Output of Markdown.pl ***
|
34
|
+
(not used anymore)
|
35
|
+
*** Output of Markdown.pl (parsed) ***
|
36
|
+
(not used anymore)
|
@@ -0,0 +1,87 @@
|
|
1
|
+
Write a comment abouth the test here.
|
2
|
+
*** Parameters: ***
|
3
|
+
{}
|
4
|
+
*** Markdown input: ***
|
5
|
+
This block is composed of three lines:
|
6
|
+
|
7
|
+
one
|
8
|
+
|
9
|
+
three
|
10
|
+
|
11
|
+
This block is composed of 5
|
12
|
+
|
13
|
+
|
14
|
+
one
|
15
|
+
|
16
|
+
|
17
|
+
four
|
18
|
+
|
19
|
+
|
20
|
+
This block is composed of 2
|
21
|
+
|
22
|
+
|
23
|
+
two
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
*** Output of inspect ***
|
28
|
+
md_el(:document,[
|
29
|
+
md_par(["This block is composed of three lines:"]),
|
30
|
+
md_el(:code,[],{:raw_code=>"one\n\nthree"},[]),
|
31
|
+
md_par(["This block is composed of 5"]),
|
32
|
+
md_el(:code,[],{:raw_code=>"one\n\n\nfour"},[]),
|
33
|
+
md_par(["This block is composed of 2"]),
|
34
|
+
md_el(:code,[],{:raw_code=>"two"},[])
|
35
|
+
],{},[])
|
36
|
+
*** Output of to_html ***
|
37
|
+
<p>This block is composed of three lines:</p>
|
38
|
+
|
39
|
+
<pre><code>one
|
40
|
+
|
41
|
+
three</code></pre>
|
42
|
+
|
43
|
+
<p>This block is composed of 5</p>
|
44
|
+
|
45
|
+
<pre><code>one
|
46
|
+
|
47
|
+
|
48
|
+
four</code></pre>
|
49
|
+
|
50
|
+
<p>This block is composed of 2</p>
|
51
|
+
|
52
|
+
<pre><code>two</code></pre>
|
53
|
+
*** Output of to_latex ***
|
54
|
+
This block is composed of three lines:
|
55
|
+
|
56
|
+
\begin{verbatim}one
|
57
|
+
|
58
|
+
three\end{verbatim}
|
59
|
+
This block is composed of 5
|
60
|
+
|
61
|
+
\begin{verbatim}one
|
62
|
+
|
63
|
+
|
64
|
+
four\end{verbatim}
|
65
|
+
This block is composed of 2
|
66
|
+
|
67
|
+
\begin{verbatim}two\end{verbatim}
|
68
|
+
*** Output of to_md ***
|
69
|
+
This block is composed of three lines:
|
70
|
+
|
71
|
+
This block is composed of 5
|
72
|
+
|
73
|
+
This block is composed of 2
|
74
|
+
*** Output of to_s ***
|
75
|
+
This block is composed of three lines:This block is composed of 5This block is composed of 2
|
76
|
+
*** EOF ***
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
OK!
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
*** Output of Markdown.pl ***
|
85
|
+
(not used anymore)
|
86
|
+
*** Output of Markdown.pl (parsed) ***
|
87
|
+
(not used anymore)
|