docgenerator 1.1.1 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/examples/docgenerator_example.rb +34 -17
- data/examples/docgenerator_example_footnote.rb +82 -61
- data/examples/docgenerator_example_list.rb +24 -18
- data/examples/docgenerator_example_restrictions.rb +17 -27
- data/examples/docgenerator_example_tabular.rb +20 -20
- data/examples/docgenerator_example_tripfalls.rb +28 -20
- data/examples/results/readme +1 -0
- data/examples/results_expected/docgenerator_example.html +39 -0
- data/examples/results_expected/docgenerator_example.pdf +0 -0
- data/examples/results_expected/docgenerator_example.tex +56 -0
- data/examples/results_expected/docgenerator_example_footnote.html +40 -0
- data/examples/results_expected/docgenerator_example_footnote.pdf +0 -0
- data/examples/results_expected/docgenerator_example_footnote.tex +50 -0
- data/examples/results_expected/docgenerator_example_list.html +18 -0
- data/examples/results_expected/docgenerator_example_list.pdf +0 -0
- data/examples/results_expected/docgenerator_example_list.tex +46 -0
- data/examples/results_expected/docgenerator_example_restrictions.html +22 -0
- data/examples/results_expected/docgenerator_example_restrictions.pdf +0 -0
- data/examples/results_expected/docgenerator_example_restrictions.tex +31 -0
- data/examples/results_expected/docgenerator_example_tabular.html +37 -0
- data/examples/results_expected/docgenerator_example_tabular.pdf +0 -0
- data/examples/results_expected/docgenerator_example_tabular.tex +41 -0
- data/examples/results_expected/docgenerator_example_tripfalls.html +27 -0
- data/examples/results_expected/docgenerator_example_tripfalls.pdf +0 -0
- data/examples/results_expected/docgenerator_example_tripfalls.tex +31 -0
- data/lib/creole/creole2doc.rb +291 -140
- data/lib/creole/creole_inclusion_and_plugins.rb +142 -39
- data/lib/creole/creole_placeholder.rb +92 -30
- data/lib/creole/creole_tabular.rb +119 -20
- data/lib/docgenerator.rb +209 -118
- data/lib/{docgenerator_attribute.rb → docgenerator/attribute.rb} +2 -1
- data/lib/{docgenerator_characters.rb → docgenerator/characters.rb} +75 -6
- data/lib/{docgenerator_css.rb → docgenerator/css.rb} +0 -0
- data/lib/docgenerator/document.rb +588 -0
- data/lib/{docgenerator_element.rb → docgenerator/element.rb} +52 -80
- data/lib/{docgenerator_elements.rb → docgenerator/elements.rb} +43 -17
- data/lib/{docgenerator_environments.rb → docgenerator/environments.rb} +20 -6
- data/lib/{docgenerator_footnote.rb → docgenerator/footnote.rb} +22 -18
- data/lib/{docgenerator_lists.rb → docgenerator/lists.rb} +17 -1
- data/lib/{docgenerator_sections.rb → docgenerator/sections.rb} +9 -1
- data/lib/docgenerator/standard.rb +81 -0
- data/lib/{docgenerator_tabular.rb → docgenerator/tabular.rb} +9 -5
- data/lib/packages/docgenerator_listings.rb +9 -5
- data/lib/packages/docgenerator_pdfpages.rb +17 -11
- data/lib/packages/docgenerator_url.rb +0 -2
- data/lib/templates/docgenerator_template.rb +66 -29
- data/lib/templates/docgenerator_template.yaml +18 -0
- data/lib/wiki2doc/wiki2docgenerator.rb +6 -2
- data/readme.rd +132 -0
- data/unittest/expected/test_document_usepackage_undefined.log +2 -0
- data/unittest/expected/test_enumerate.context +4 -0
- data/unittest/expected/test_footnote.html +4 -4
- data/unittest/expected/test_footnote.latex +4 -4
- data/unittest/expected/test_footnote_group.html +6 -6
- data/unittest/expected/test_footnote_group.latex +6 -6
- data/unittest/expected/test_href.html +2 -2
- data/unittest/expected/test_href.latex +2 -2
- data/unittest/expected/test_href.text +2 -2
- data/unittest/expected/test_itemize.context +4 -0
- data/unittest/expected/test_runtex.stdout +3 -0
- data/unittest/expected/test_runtex_2.stdout +3 -0
- data/unittest/expected/test_section.context +20 -0
- data/unittest/expected/test_tabular.html +2 -2
- data/unittest/expected/test_verbatim.html +3 -0
- data/unittest/expected/test_verbatim.latex +4 -0
- data/unittest/expected/test_verbatim_array.html +1 -0
- data/unittest/expected/test_verbatim_array.latex +2 -0
- data/unittest/expected_creole/test_creole_characters_all.html +12 -5
- data/unittest/expected_creole/test_creole_characters_all.latex +20 -6
- data/unittest/expected_creole/test_creole_comment.context +11 -0
- data/unittest/expected_creole/test_creole_comment.creole +12 -0
- data/unittest/expected_creole/test_creole_comment.html +9 -0
- data/unittest/expected_creole/test_creole_comment.latex +11 -0
- data/unittest/expected_creole/test_creole_creole1.0test.html +3 -3
- data/unittest/expected_creole/test_creole_creole1.0test.latex +3 -3
- data/unittest/expected_creole/test_creole_creole1.0test.text +4 -4
- data/unittest/expected_creole/test_creole_ignore.html +3 -0
- data/unittest/expected_creole/test_creole_ignore.latex +4 -0
- data/unittest/expected_creole/test_creole_ignore.text +2 -0
- data/unittest/expected_creole/test_creole_input.normsource +12 -12
- data/unittest/expected_creole/test_creole_input_file_simple.html +15 -0
- data/unittest/expected_creole/test_creole_input_file_simple_readlines.html +15 -0
- data/unittest/expected_creole/test_creole_links_external_implicit.html +2 -2
- data/unittest/expected_creole/test_creole_links_external_implicit.latex +2 -2
- data/unittest/expected_creole/test_creole_links_external_implicit.text +2 -2
- data/unittest/expected_creole/test_creole_links_implicit_end.creole +4 -0
- data/unittest/expected_creole/test_creole_links_implicit_end.html +3 -0
- data/unittest/expected_creole/test_creole_links_implicit_end.latex +4 -0
- data/unittest/expected_creole/test_creole_list_ul.normsource +42 -42
- data/unittest/expected_creole/test_creole_mix_titles_list.html +10 -0
- data/unittest/expected_creole/test_creole_mix_titles_list.latex +18 -0
- data/unittest/expected_creole/test_creole_mix_titles_list.text +12 -0
- data/unittest/expected_creole/test_creole_paragraphs.normsource +15 -15
- data/unittest/expected_creole/test_creole_pictures_css.html +4 -1
- data/unittest/expected_creole/test_creole_pictures_css.latex +5 -1
- data/unittest/expected_creole/test_creole_pictures_longdesc.html +3 -0
- data/unittest/expected_creole/test_creole_pictures_width.html +3 -0
- data/unittest/expected_creole/test_creole_pictures_width.latex +4 -0
- data/unittest/expected_creole/test_creole_short_html.html +3 -0
- data/unittest/expected_creole/test_creole_short_html.latex +4 -0
- data/unittest/expected_creole/test_creole_short_html.text +2 -0
- data/unittest/expected_creole/test_creole_shy.creole +6 -0
- data/unittest/expected_creole/test_creole_shy.html +6 -0
- data/unittest/expected_creole/test_creole_shy.latex +8 -0
- data/unittest/expected_creole/test_creole_shy.text +4 -0
- data/unittest/expected_creole/test_creole_tabular_with_cell_option.html +20 -0
- data/unittest/expected_creole/test_creole_toc.html +3 -1
- data/unittest/expected_creole/test_creole_toc.latex +1 -1
- data/unittest/expected_creole/test_creole_toc.text +1 -1
- data/unittest/expected_creole/test_creole_toc_level.html +7 -0
- data/unittest/expected_creole/test_creole_toc_level.latex +10 -0
- data/unittest/expected_creole/test_creole_toc_level.text +3 -0
- data/unittest/expected_creole/test_creole_toc_level_text.html +8 -0
- data/unittest/expected_creole/test_creole_toc_level_text.latex +9 -0
- data/unittest/expected_creole/test_creole_verbatim.html +1 -1
- data/unittest/expected_creole/test_creole_verbatim.latex +1 -1
- data/unittest/expected_creole/test_creole_verbatim.text +1 -1
- data/unittest/expected_creole/test_creole_verbatim_inline.html +1 -1
- data/unittest/expected_creole/test_creole_verbatim_inline.latex +1 -1
- data/unittest/expected_wiki/test_wiki_description.html +5 -5
- data/unittest/expected_wiki/test_wiki_description.latex +5 -5
- data/unittest/expected_wiki/test_wiki_description.text +5 -5
- data/unittest/expected_wiki/test_wiki_description.wiki +5 -5
- data/unittest/test_rakefile_docgenerator.rb +43 -0
- data/unittest/unittest_creole2doc.rb +415 -27
- data/unittest/unittest_docgenerator.rb +256 -23
- data/unittest/unittest_docgenerator_runtex.rb +83 -0
- data/unittest/unittest_versions.rb +44 -0
- data/unittest/unittest_wiki2doc.rb +28 -27
- metadata +473 -106
- data/lib/docgenerator_document.rb +0 -525
- data/lib/packages/docgenerator_beamer.rb +0 -253
- data/lib/yaml2presentation/yaml2presentation.rb +0 -1091
- data/unittest/expected/beamer_01_article.tex +0 -13
- data/unittest/expected/beamer_01_attachment.tex +0 -15
- data/unittest/expected/beamer_01_doc.html +0 -13
- data/unittest/expected/beamer_01_doc.tex +0 -18
- data/unittest/expected/beamer_01_notes_only.tex +0 -13
- data/unittest/expected/beamer_01_notes_onlyslideswithnotes.tex +0 -13
- data/unittest/expected/beamer_01_notes_show.tex +0 -13
- data/unittest/expected/beamer_01_presentation.tex +0 -13
- data/unittest/expected/beamer_02_doc.html +0 -29
- data/unittest/expected/beamer_02_doc.tex +0 -34
- data/unittest/expected/beamer_block.html +0 -1
- data/unittest/expected/beamer_block.latex +0 -1
- data/unittest/expected/beamer_doc_fragile_doc.tex +0 -33
- data/unittest/expected/beamer_doc_html_overview_with_detailpic_and_text_doc.html +0 -34
- data/unittest/expected/beamer_doc_html_overview_with_detailpic_doc.html +0 -34
- data/unittest/expected/beamer_doc_key_doc.html +0 -20
- data/unittest/expected/beamer_doc_key_doc.tex +0 -29
- data/unittest/expected/beamer_doc_note_doc.html +0 -30
- data/unittest/expected/beamer_doc_note_doc.tex +0 -37
- data/unittest/expected/beamer_doc_pic_bottom_doc.html +0 -24
- data/unittest/expected/beamer_doc_pic_doc.html +0 -24
- data/unittest/expected/beamer_doc_pic_doc.tex +0 -28
- data/unittest/expected/beamer_doc_pic_left_doc.html +0 -24
- data/unittest/expected/beamer_doc_pic_left_doc.tex +0 -28
- data/unittest/expected/beamer_doc_pic_ratio_doc.tex +0 -29
- data/unittest/expected/beamer_doc_pic_right_doc.html +0 -24
- data/unittest/expected/beamer_doc_pic_right_doc.tex +0 -28
- data/unittest/expected/beamer_doc_pic_top_doc.html +0 -24
- data/unittest/expected/beamer_frame.html +0 -5
- data/unittest/expected/beamer_frame.tex +0 -11
- data/unittest/expected/beamer_frame_fragile.tex +0 -7
- data/unittest/expected/beamer_frame_id.html +0 -1
- data/unittest/expected/beamer_frame_id.tex +0 -4
- data/unittest/expected/beamer_framepic.html +0 -5
- data/unittest/expected/beamer_framepic.latex +0 -1
- data/unittest/expected/beamer_framepic_link.html +0 -5
- data/unittest/expected/beamer_framepic_link.latex +0 -1
- data/unittest/expected/beamer_frametitle.html +0 -1
- data/unittest/expected/beamer_frametitle.latex +0 -1
- data/unittest/expected/beamer_note.html +0 -1
- data/unittest/expected/beamer_note.latex +0 -1
- data/unittest/expected_privat/test_creole_test_document.html +0 -6
- data/unittest/expected_wiki/test_wiki_amazon.html +0 -10
- data/unittest/expected_wiki/test_wiki_link.log +0 -3
- data/unittest/test_docgenerator.rb +0 -107
- data/unittest/unittest_yaml2pres.rb +0 -336
|
@@ -42,11 +42,11 @@ Be careful that italic links are rendered properly: \emph{\href{http://my.book.e
|
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
|
|
45
|
-
Free links without braces should be rendered as well, like \href{http://www.wikicreole.org/}{http://www.wikicreole.org/}
|
|
45
|
+
Free links without braces should be rendered as well, like \href{http://www.wikicreole.org/}{http://www.wikicreole.org/} and \href{http://www.wikicreole.org/users/~example.}{http://www.wikicreole.org/users/~example.}
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
|
|
49
|
-
Creole1.0 specifies that \href{http://bar}{http://bar}
|
|
49
|
+
Creole1.0 specifies that \href{http://bar}{http://bar} and ftp:\emph{bar should not render italic,something like foo:}bar should render as italic.
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
|
|
@@ -178,7 +178,7 @@ You can also use it inline nowiki \verb| in a sentence | like this.
|
|
|
178
178
|
\section{ Escapes }
|
|
179
179
|
|
|
180
180
|
|
|
181
|
-
Normal Link: \href{http://wikicreole.org/}{http://wikicreole.org/}
|
|
181
|
+
Normal Link: \href{http://wikicreole.org/}{http://wikicreole.org/} - now same link, but escaped: ~\href{http://wikicreole.org/}{http://wikicreole.org/}
|
|
182
182
|
|
|
183
183
|
|
|
184
184
|
|
|
@@ -55,9 +55,9 @@ Here's a external link without a description: http://www.wikicreole.org (http://
|
|
|
55
55
|
|
|
56
56
|
Be careful that italic links are rendered properly: My Book Title (http://my.book.example/)
|
|
57
57
|
|
|
58
|
-
Free links without braces should be rendered as well, like http://www.wikicreole.org/ (http://www.wikicreole.org/)
|
|
58
|
+
Free links without braces should be rendered as well, like http://www.wikicreole.org/ (http://www.wikicreole.org/) and http://www.wikicreole.org/users/~example. (http://www.wikicreole.org/users/~example.)
|
|
59
59
|
|
|
60
|
-
Creole1.0 specifies that http://bar (http://bar)
|
|
60
|
+
Creole1.0 specifies that http://bar (http://bar) and ftp:bar should not render italic,something like foo:bar should render as italic.
|
|
61
61
|
|
|
62
62
|
You can use this to draw a line to separate the page:
|
|
63
63
|
-------------------------
|
|
@@ -97,13 +97,13 @@ Guitar Chord C:
|
|
|
97
97
|
||---|---|-0-|
|
|
98
98
|
||---|---|---|
|
|
99
99
|
|
|
100
|
-
You can also use it inline nowiki
|
|
100
|
+
You can also use it inline nowiki in a sentence like this.
|
|
101
101
|
|
|
102
102
|
Escapes
|
|
103
103
|
------------------------------
|
|
104
104
|
|
|
105
105
|
|
|
106
|
-
Normal Link: http://wikicreole.org/ (http://wikicreole.org/)
|
|
106
|
+
Normal Link: http://wikicreole.org/ (http://wikicreole.org/) - now same link, but escaped: ~http://wikicreole.org/ (http://wikicreole.org/)
|
|
107
107
|
|
|
108
108
|
Normal asterisks: ~not bold~
|
|
109
109
|
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
---
|
|
2
2
|
- !ruby/struct:Creole_line
|
|
3
|
-
type: :dummy
|
|
4
|
-
content:
|
|
5
|
-
add_info:
|
|
3
|
+
:type: :dummy
|
|
4
|
+
:content:
|
|
5
|
+
:add_info:
|
|
6
6
|
- !ruby/struct:Creole_line
|
|
7
|
-
type: :par
|
|
8
|
-
content: |
|
|
7
|
+
:type: :par
|
|
8
|
+
:content: |
|
|
9
9
|
Text,
|
|
10
10
|
more Text.
|
|
11
11
|
And some more text.
|
|
12
12
|
|
|
13
|
-
add_info:
|
|
13
|
+
:add_info:
|
|
14
14
|
- !ruby/struct:Creole_line
|
|
15
|
-
type: :dummy
|
|
16
|
-
content:
|
|
17
|
-
add_info:
|
|
15
|
+
:type: :dummy
|
|
16
|
+
:content:
|
|
17
|
+
:add_info:
|
|
18
18
|
- !ruby/struct:Creole_line
|
|
19
|
-
type: :par
|
|
20
|
-
content: |
|
|
19
|
+
:type: :par
|
|
20
|
+
:content: |
|
|
21
21
|
A new paragraph.
|
|
22
22
|
|
|
23
|
-
add_info:
|
|
23
|
+
:add_info:
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<p >
|
|
2
|
-
Free links without braces should be rendered as well, like <a href = "http://www.wikicreole.org/" >http://www.wikicreole.org/</a>
|
|
2
|
+
Free links without braces should be rendered as well, like <a href = "http://www.wikicreole.org/" >http://www.wikicreole.org/</a> and <a href = "http://www.wikicreole.org/users/~example" >http://www.wikicreole.org/users/~example</a>.
|
|
3
3
|
</p>
|
|
4
4
|
<p >
|
|
5
|
-
See also description: <a href = "http://www.wikicreole.org/wiki/Links" >http://www.wikicreole.org/wiki/Links</a>
|
|
5
|
+
See also description: <a href = "http://www.wikicreole.org/wiki/Links" >http://www.wikicreole.org/wiki/Links</a>
|
|
6
6
|
</p>
|
|
7
7
|
<p >
|
|
8
8
|
In case of phrase ends with . you should use explicit links like <a href = "http://www.wikicreole.org/users/~example" >http://www.wikicreole.org/users/~example</a>.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
Free links without braces should be rendered as well, like \href{http://www.wikicreole.org/}{http://www.wikicreole.org/}
|
|
3
|
+
Free links without braces should be rendered as well, like \href{http://www.wikicreole.org/}{http://www.wikicreole.org/} and \href{http://www.wikicreole.org/users/~example}{http://www.wikicreole.org/users/~example}.
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
See also description: \href{http://www.wikicreole.org/wiki/Links}{http://www.wikicreole.org/wiki/Links}
|
|
7
|
+
See also description: \href{http://www.wikicreole.org/wiki/Links}{http://www.wikicreole.org/wiki/Links}
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
Free links without braces should be rendered as well, like http://www.wikicreole.org/ (http://www.wikicreole.org/)
|
|
2
|
+
Free links without braces should be rendered as well, like http://www.wikicreole.org/ (http://www.wikicreole.org/) and http://www.wikicreole.org/users/~example (http://www.wikicreole.org/users/~example).
|
|
3
3
|
|
|
4
|
-
See also description: http://www.wikicreole.org/wiki/Links (http://www.wikicreole.org/wiki/Links)
|
|
4
|
+
See also description: http://www.wikicreole.org/wiki/Links (http://www.wikicreole.org/wiki/Links)
|
|
5
5
|
|
|
6
6
|
In case of phrase ends with . you should use explicit links like http://www.wikicreole.org/users/~example (http://www.wikicreole.org/users/~example).
|
|
@@ -1,83 +1,83 @@
|
|
|
1
1
|
---
|
|
2
2
|
- !ruby/struct:Creole_line
|
|
3
|
-
type: :dummy
|
|
4
|
-
content:
|
|
5
|
-
add_info:
|
|
3
|
+
:type: :dummy
|
|
4
|
+
:content:
|
|
5
|
+
:add_info:
|
|
6
6
|
- !ruby/struct:Creole_line
|
|
7
|
-
type: :par
|
|
8
|
-
content: |
|
|
7
|
+
:type: :par
|
|
8
|
+
:content: |
|
|
9
9
|
Text before
|
|
10
10
|
|
|
11
|
-
add_info:
|
|
11
|
+
:add_info:
|
|
12
12
|
- !ruby/struct:Creole_line
|
|
13
|
-
type: :list
|
|
14
|
-
content: |
|
|
13
|
+
:type: :list
|
|
14
|
+
:content: |
|
|
15
15
|
Listentry 1
|
|
16
16
|
|
|
17
|
-
add_info:
|
|
17
|
+
:add_info:
|
|
18
18
|
:listtype: "*"
|
|
19
19
|
- !ruby/struct:Creole_line
|
|
20
|
-
type: :list
|
|
21
|
-
content: |
|
|
20
|
+
:type: :list
|
|
21
|
+
:content: |
|
|
22
22
|
Listentry 2
|
|
23
23
|
|
|
24
|
-
add_info:
|
|
24
|
+
:add_info:
|
|
25
25
|
:listtype: "*"
|
|
26
26
|
- !ruby/struct:Creole_line
|
|
27
|
-
type: :list
|
|
28
|
-
content: |
|
|
27
|
+
:type: :list
|
|
28
|
+
:content: |
|
|
29
29
|
Listentry 2.1
|
|
30
30
|
|
|
31
|
-
add_info:
|
|
31
|
+
:add_info:
|
|
32
32
|
:listtype: "**"
|
|
33
33
|
- !ruby/struct:Creole_line
|
|
34
|
-
type: :list
|
|
35
|
-
content: |
|
|
34
|
+
:type: :list
|
|
35
|
+
:content: |
|
|
36
36
|
Listentry 2.2
|
|
37
37
|
|
|
38
|
-
add_info:
|
|
38
|
+
:add_info:
|
|
39
39
|
:listtype: "**"
|
|
40
40
|
- !ruby/struct:Creole_line
|
|
41
|
-
type: :list
|
|
42
|
-
content: |
|
|
41
|
+
:type: :list
|
|
42
|
+
:content: |
|
|
43
43
|
Listentry 3
|
|
44
44
|
|
|
45
|
-
add_info:
|
|
45
|
+
:add_info:
|
|
46
46
|
:listtype: "*"
|
|
47
47
|
- !ruby/struct:Creole_line
|
|
48
|
-
type: :list
|
|
49
|
-
content: |
|
|
48
|
+
:type: :list
|
|
49
|
+
:content: |
|
|
50
50
|
Listentry 3.2
|
|
51
51
|
|
|
52
|
-
add_info:
|
|
52
|
+
:add_info:
|
|
53
53
|
:listtype: "**"
|
|
54
54
|
- !ruby/struct:Creole_line
|
|
55
|
-
type: :dummy
|
|
56
|
-
content:
|
|
57
|
-
add_info:
|
|
55
|
+
:type: :dummy
|
|
56
|
+
:content:
|
|
57
|
+
:add_info:
|
|
58
58
|
- !ruby/struct:Creole_line
|
|
59
|
-
type: :dummy
|
|
60
|
-
content:
|
|
61
|
-
add_info:
|
|
59
|
+
:type: :dummy
|
|
60
|
+
:content:
|
|
61
|
+
:add_info:
|
|
62
62
|
- !ruby/struct:Creole_line
|
|
63
|
-
type: :list
|
|
64
|
-
content: " You can have\n\
|
|
63
|
+
:type: :list
|
|
64
|
+
:content: " You can have\n\
|
|
65
65
|
multiline list items\n"
|
|
66
|
-
add_info:
|
|
66
|
+
:add_info:
|
|
67
67
|
:listtype: "*"
|
|
68
68
|
- !ruby/struct:Creole_line
|
|
69
|
-
type: :list
|
|
70
|
-
content: " this is a second multiline\n\
|
|
69
|
+
:type: :list
|
|
70
|
+
:content: " this is a second multiline\n\
|
|
71
71
|
list item\n"
|
|
72
|
-
add_info:
|
|
72
|
+
:add_info:
|
|
73
73
|
:listtype: "*"
|
|
74
74
|
- !ruby/struct:Creole_line
|
|
75
|
-
type: :dummy
|
|
76
|
-
content:
|
|
77
|
-
add_info:
|
|
75
|
+
:type: :dummy
|
|
76
|
+
:content:
|
|
77
|
+
:add_info:
|
|
78
78
|
- !ruby/struct:Creole_line
|
|
79
|
-
type: :par
|
|
80
|
-
content: |
|
|
79
|
+
:type: :par
|
|
80
|
+
:content: |
|
|
81
81
|
Text afterwords
|
|
82
82
|
|
|
83
|
-
add_info:
|
|
83
|
+
:add_info:
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
---
|
|
2
2
|
- !ruby/struct:Creole_line
|
|
3
|
-
type: :dummy
|
|
4
|
-
content:
|
|
5
|
-
add_info:
|
|
3
|
+
:type: :dummy
|
|
4
|
+
:content:
|
|
5
|
+
:add_info:
|
|
6
6
|
- !ruby/struct:Creole_line
|
|
7
|
-
type: :par
|
|
8
|
-
content: |
|
|
7
|
+
:type: :par
|
|
8
|
+
:content: |
|
|
9
9
|
This is some text,
|
|
10
10
|
followed by more Text.
|
|
11
11
|
And some more text.
|
|
12
12
|
|
|
13
|
-
add_info:
|
|
13
|
+
:add_info:
|
|
14
14
|
- !ruby/struct:Creole_line
|
|
15
|
-
type: :dummy
|
|
16
|
-
content:
|
|
17
|
-
add_info:
|
|
15
|
+
:type: :dummy
|
|
16
|
+
:content:
|
|
17
|
+
:add_info:
|
|
18
18
|
- !ruby/struct:Creole_line
|
|
19
|
-
type: :par
|
|
20
|
-
content: |
|
|
19
|
+
:type: :par
|
|
20
|
+
:content: |
|
|
21
21
|
And now a new paragraph with some other text.
|
|
22
22
|
|
|
23
|
-
add_info:
|
|
23
|
+
:add_info:
|
|
24
24
|
- !ruby/struct:Creole_line
|
|
25
|
-
type: :dummy
|
|
26
|
-
content:
|
|
27
|
-
add_info:
|
|
25
|
+
:type: :dummy
|
|
26
|
+
:content:
|
|
27
|
+
:add_info:
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
<p >
|
|
2
|
-
<img src = "Red_Flower.jpg" alt = "red flower" style = "width: 50px;" />
|
|
2
|
+
<img src = "Red_Flower.jpg" alt = "red flower" style = "width: 50px;" />
|
|
3
|
+
</p>
|
|
4
|
+
<p >
|
|
5
|
+
<img src = "Red_Flower.jpg" alt = "red flower" style = "width: 100px;" />
|
|
3
6
|
</p>
|