docgenerator 2.1.0 → 2.1.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.
- checksums.yaml +7 -0
- data/examples/creole_example.rb +0 -1
- data/examples/creole_example_new_plugin.rb +51 -0
- data/examples/creole_example_tabular.rb +3 -1
- data/examples/wiki2docgenerator_example.rb +2 -2
- data/lib/creole/creole2doc.rb +697 -680
- data/lib/creole/creole_characters.rb +90 -26
- data/lib/creole/creole_inclusion_and_plugins.rb +25 -43
- data/lib/creole/creole_inclusions.rb +87 -75
- data/lib/creole/creole_placeholder.rb +87 -89
- data/lib/creole/creole_plugins.rb +149 -117
- data/lib/creole/creole_tabular.rb +247 -141
- data/lib/creole/plugins/todonotes.rb +48 -48
- data/lib/docgenerator/characters.rb +106 -8
- data/lib/docgenerator/compatibility_v1.rb +7 -1
- data/lib/docgenerator/document.rb +34 -19
- data/lib/docgenerator/element.rb +1 -0
- data/lib/docgenerator/element_meta.rb +1 -1
- data/lib/docgenerator/elements.rb +594 -535
- data/lib/docgenerator/environments.rb +131 -99
- data/lib/docgenerator/index.rb +110 -0
- data/lib/docgenerator/lists.rb +2 -1
- data/lib/docgenerator/packages/caption.rb +32 -34
- data/lib/docgenerator/packages/hyperref.rb +1 -0
- data/lib/docgenerator/packages/multicol.rb +3 -2
- data/lib/docgenerator/packages/pdfpages.rb +71 -20
- data/lib/docgenerator/packages/scrpage2.rb +99 -142
- data/lib/docgenerator/packages/url.rb +75 -81
- data/lib/docgenerator/sections.rb +98 -98
- data/lib/docgenerator/standard.rb +8 -1
- data/lib/docgenerator/tabular.rb +44 -25
- data/lib/docgenerator/templates/docgenerator_template.yaml +28 -0
- data/lib/docgenerator/version.rb +146 -0
- data/lib/docgenerator.rb +20 -15
- data/meta_test_and_doc/build_doc.rb +39 -10
- data/meta_test_and_doc/build_test.rb +34 -12
- data/meta_test_and_doc/manpages/characters.rb +452 -20
- data/meta_test_and_doc/manpages/elementlist.rb +304 -0
- data/meta_test_and_doc/manpages/elements.rb +305 -42
- data/meta_test_and_doc/manpages/others.rb +403 -0
- data/meta_test_and_doc/manpages/pdfpages.rb +117 -18
- data/meta_test_and_doc/manpages/readme.rdoc +3 -1
- data/meta_test_and_doc/manpages/scrpage2.rb +0 -80
- data/meta_test_and_doc/manpages/tables.rb +6 -6
- data/readme.rdoc +11 -120
- data/unittest/expected/test_comment.html +1 -0
- data/unittest/expected/test_comment.latex +5 -0
- data/unittest/expected/test_comment_complex.html +3 -0
- data/unittest/expected/test_comment_complex.latex +15 -0
- data/unittest/expected_creole/test_creole_characters_all.html +6 -5
- data/unittest/expected_creole/test_creole_characters_all.latex +10 -8
- data/unittest/expected_creole/test_creole_creole1.0test.latex +5 -5
- data/unittest/expected_creole/test_creole_input.normsource +11 -9
- data/unittest/expected_creole/test_creole_list_ul.normsource +57 -51
- data/unittest/expected_creole/test_creole_list_ulul_without_ul.html +6 -0
- data/unittest/expected_creole/test_creole_list_ulul_without_ul.latex +12 -0
- data/unittest/expected_creole/test_creole_paragraphs.normsource +12 -10
- data/unittest/expected_creole/test_creole_pictures.latex +2 -2
- data/unittest/expected_creole/test_creole_pictures_css.latex +2 -2
- data/unittest/expected_creole/test_creole_pictures_imgclass.latex +2 -2
- data/unittest/expected_creole/test_creole_pictures_width.latex +1 -1
- data/unittest/expected_creole/test_creole_tabular.latex +3 -3
- data/unittest/expected_creole/test_creole_tabular_creole.latex +2 -2
- data/unittest/expected_creole/test_creole_tabular_css.latex +3 -3
- data/unittest/expected_creole/test_creole_tabular_row_parameters.latex +22 -0
- data/unittest/expected_templates/test_standalone.tex +34 -0
- data/unittest/expected_wikimedia/test_wiki_picture.latex +12 -12
- data/unittest/unittest_creole.rb +22 -3
- data/unittest/unittest_creole_tabular.rb +34 -1
- data/unittest/unittest_docgenerator.rb +46 -3
- data/unittest/unittest_docgenerator_characters.rb +527 -82
- data/unittest/unittest_templates.rb +1 -1
- metadata +149 -108
@@ -11,7 +11,6 @@ The following Element are documented in this document:
|
|
11
11
|
* Docgenerator::Packages::Scrpage2::Clearscrheadings
|
12
12
|
* Docgenerator::Packages::Scrpage2::Clearscrheadfoot
|
13
13
|
* Docgenerator::Packages::Scrpage2::Clearscrplain
|
14
|
-
* Docgenerator::Packages::Scrpage2::Pagestyle
|
15
14
|
* Docgenerator::Packages::Scrpage2::Manualmark
|
16
15
|
* Docgenerator::Packages::Scrpage2::Automark
|
17
16
|
* Docgenerator::Packages::Scrpage2::Lehead
|
@@ -276,85 +275,6 @@ module Docgenerator
|
|
276
275
|
module Packages
|
277
276
|
module Scrpage2
|
278
277
|
=begin rdoc
|
279
|
-
=Docgenerator::Packages::Scrpage2::Pagestyle
|
280
|
-
|
281
|
-
Docgenerator::Packages::Scrpage2::Pagestyle does not contain attributes
|
282
|
-
|
283
|
-
|
284
|
-
Docgenerator::Packages::Scrpage2::Pagestyle can contain content.
|
285
|
-
|
286
|
-
==Generate an object
|
287
|
-
test = Docgenerator::Packages::Scrpage2::Pagestyle.new( {}, 'content')
|
288
|
-
|
289
|
-
Alternative generation
|
290
|
-
test = element(:pagestyle, {}, 'content' )
|
291
|
-
|
292
|
-
|
293
|
-
==Outputs
|
294
|
-
===Docgenerator::Packages::Scrpage2::Pagestyle#to_latex
|
295
|
-
\pagestyle{content}
|
296
|
-
|
297
|
-
====:cr, :cR, :Cr, :CR for Docgenerator::Packages::Scrpage2::Pagestyle#.to_latex
|
298
|
-
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
299
|
-
|
300
|
-
Default:
|
301
|
-
<<START>>\pagestyle{content}<<END>>
|
302
|
-
|
303
|
-
* Result after Docgenerator::Packages::Scrpage2::Pagestyle#cr:
|
304
|
-
|
305
|
-
<<START>>\pagestyle{content}
|
306
|
-
<<END>>
|
307
|
-
|
308
|
-
* Result after Docgenerator::Packages::Scrpage2::Pagestyle#cR:
|
309
|
-
|
310
|
-
<<START>>\pagestyle{content}
|
311
|
-
<<END>>
|
312
|
-
|
313
|
-
* Result after Docgenerator::Packages::Scrpage2::Pagestyle#Cr:
|
314
|
-
|
315
|
-
<<START>>
|
316
|
-
\pagestyle{content}
|
317
|
-
<<END>>
|
318
|
-
|
319
|
-
* Result after Docgenerator::Packages::Scrpage2::Pagestyle#CR:
|
320
|
-
|
321
|
-
<<START>>
|
322
|
-
\pagestyle{content}
|
323
|
-
<<END>>
|
324
|
-
|
325
|
-
===Docgenerator::Packages::Scrpage2::Pagestyle#to_html
|
326
|
-
<span >content</span>
|
327
|
-
|
328
|
-
* No output routine defined for html - use a dummy
|
329
|
-
===Docgenerator::Packages::Scrpage2::Pagestyle#to_context
|
330
|
-
\pagestyle{content}
|
331
|
-
|
332
|
-
* No output routine defined for context - use a dummy
|
333
|
-
===Docgenerator::Packages::Scrpage2::Pagestyle#to_text
|
334
|
-
content
|
335
|
-
|
336
|
-
* No output routine defined for text - use a dummy
|
337
|
-
===Docgenerator::Packages::Scrpage2::Pagestyle#to_wiki
|
338
|
-
content
|
339
|
-
|
340
|
-
|
341
|
-
* No output routine defined for wiki - use a dummy
|
342
|
-
===Docgenerator::Packages::Scrpage2::Pagestyle#to_creole
|
343
|
-
content
|
344
|
-
|
345
|
-
|
346
|
-
* No output routine defined for creole - use a dummy
|
347
|
-
=end
|
348
|
-
class Pagestyle << Docgenerator::Element
|
349
|
-
#This coding is empty - this is the manpage definition, not the implementation
|
350
|
-
end #class Pagestyle
|
351
|
-
end #module Scrpage2
|
352
|
-
end #module Packages
|
353
|
-
end #module Docgenerator
|
354
|
-
module Docgenerator
|
355
|
-
module Packages
|
356
|
-
module Scrpage2
|
357
|
-
=begin rdoc
|
358
278
|
=Docgenerator::Packages::Scrpage2::Manualmark
|
359
279
|
|
360
280
|
Docgenerator::Packages::Scrpage2::Manualmark does not contain attributes
|
@@ -1694,34 +1694,34 @@ Alternative generation
|
|
1694
1694
|
|
1695
1695
|
==Outputs
|
1696
1696
|
===Docgenerator::Tables::Column_th#to_latex
|
1697
|
-
content
|
1697
|
+
\textbf{content}
|
1698
1698
|
|
1699
1699
|
====:cr, :cR, :Cr, :CR for Docgenerator::Tables::Column_th#.to_latex
|
1700
1700
|
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
1701
1701
|
|
1702
1702
|
Default:
|
1703
|
-
<<START
|
1703
|
+
<<START>>\textbf{content}<<END>>
|
1704
1704
|
|
1705
1705
|
* Result after Docgenerator::Tables::Column_th#cr:
|
1706
1706
|
|
1707
|
-
<<START
|
1707
|
+
<<START>>\textbf{content}
|
1708
1708
|
<<END>>
|
1709
1709
|
|
1710
1710
|
* Result after Docgenerator::Tables::Column_th#cR:
|
1711
1711
|
|
1712
|
-
<<START
|
1712
|
+
<<START>>\textbf{content}
|
1713
1713
|
<<END>>
|
1714
1714
|
|
1715
1715
|
* Result after Docgenerator::Tables::Column_th#Cr:
|
1716
1716
|
|
1717
1717
|
<<START>>
|
1718
|
-
content
|
1718
|
+
\textbf{content}
|
1719
1719
|
<<END>>
|
1720
1720
|
|
1721
1721
|
* Result after Docgenerator::Tables::Column_th#CR:
|
1722
1722
|
|
1723
1723
|
<<START>>
|
1724
|
-
content
|
1724
|
+
\textbf{content}
|
1725
1725
|
<<END>>
|
1726
1726
|
|
1727
1727
|
===Docgenerator::Tables::Column_th#to_html
|
data/readme.rdoc
CHANGED
@@ -2,14 +2,20 @@ The docgenerator-gem allows the definition of documents and export to
|
|
2
2
|
* LaTeX
|
3
3
|
* HTML
|
4
4
|
* Creole (a common wiki markup, see http://www.wikicreole.org )
|
5
|
-
* Wiki-markup like Wikimedia[http://www.mediawiki.org/wiki/MediaWiki/] (not supported any longer)
|
6
5
|
* plain text (not very good supported)
|
7
6
|
* context (only rudimentory tests)
|
7
|
+
* Wiki-markup like Wikimedia[http://www.mediawiki.org/wiki/MediaWiki/] (not supported any longer)
|
8
8
|
|
9
9
|
|
10
10
|
=docgenerator-gem
|
11
11
|
Defines a programmer interface to create documents.
|
12
12
|
|
13
|
+
|
14
|
+
This gem contains also
|
15
|
+
* creole/creole2doc.rb - a Creole-Wiki to TeX/HTML-Translator
|
16
|
+
* wiki2doc/wiki2docgenerator.rb - a Wiki to TeX/HTML-Translator (further development stopped)
|
17
|
+
|
18
|
+
==Examples
|
13
19
|
Please check the examples:
|
14
20
|
* examples/docgenerator_example.rb
|
15
21
|
* examples/docgenerator_example_list.rb
|
@@ -19,10 +25,7 @@ Please check the examples:
|
|
19
25
|
* examples/docgenerator_example_tripfalls.rb
|
20
26
|
|
21
27
|
|
22
|
-
|
23
|
-
* creole/creole2doc.rb - a Creole-Wiki to TeX/HTML-Translator
|
24
|
-
* wiki2doc/wiki2docgenerator.rb - a Wiki to TeX/HTML-Translator
|
25
|
-
|
28
|
+
===LaTeX-Packages
|
26
29
|
|
27
30
|
There is also support of some special (LaTeX)-documents:
|
28
31
|
* lib/creole/plugins/rail.rb: build rail-diagramms (rail.sty)
|
@@ -42,118 +45,6 @@ Can also be used to build image galleries.
|
|
42
45
|
===docgenerator4calendar
|
43
46
|
Generation of calendars and event lists.
|
44
47
|
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
* Developpers version
|
49
|
-
|
50
|
-
0.1.0:
|
51
|
-
* to_element
|
52
|
-
|
53
|
-
0.1.1:
|
54
|
-
* to_element
|
55
|
-
|
56
|
-
1.0.0:
|
57
|
-
* to_doc
|
58
|
-
* no @@target any longer
|
59
|
-
* Document.new mit Hash
|
60
|
-
* unit tests
|
61
|
-
* lib-folder
|
62
|
-
* Constant DOCGENERATOR_VERSION
|
63
|
-
* Published as 1.0.2
|
64
|
-
|
65
|
-
1.0.3:
|
66
|
-
* Add table of contents
|
67
|
-
|
68
|
-
1.0.4 (2008-05-06)
|
69
|
-
* wiki2docgenerator: delete myscripts.rb
|
70
|
-
* wiki2docgenerator: change in link (no cr)
|
71
|
-
* Add dependency log4r
|
72
|
-
* Correction error 'uninitialized constant CSS_collection (NameError)'
|
73
|
-
-> rubyforge
|
74
|
-
|
75
|
-
1.0.5 (2008-09-24)
|
76
|
-
* yaml2presentation + docgenerator_beamer.rb
|
77
|
-
* Correction packages/docgenerator_scrlettr2.rb
|
78
|
-
* wiki2docgenerator: In Tab: Allow ! as replacement for |
|
79
|
-
* CSS_collection: Define accessor []
|
80
|
-
* Attribute#filled? ignores nil-values
|
81
|
-
* Docgenerator:
|
82
|
-
*Default-Logger gives message
|
83
|
-
*Check META-Values
|
84
|
-
*shorttitle adapted
|
85
|
-
*Document.new: add option :css
|
86
|
-
|
87
|
-
1.1.0
|
88
|
-
* Document.save: Changes interface, options...
|
89
|
-
* Wikitext: Ignore multiple empty lines
|
90
|
-
* Element#new: Define default-attribute :log for logger (used afterwords as @log)
|
91
|
-
* yaml2presentation: New setting :valid_keys
|
92
|
-
* package/docgenerator_scrlettr2: Extended
|
93
|
-
* default pdflualatex for runtex
|
94
|
-
* Add ->, => for text-output
|
95
|
-
|
96
|
-
1.1.1:
|
97
|
-
* Document.new: New option parameter/All meta-tags are allowed
|
98
|
-
* Document.save: New option :additional_options
|
99
|
-
* Wikitext: Add method Wikitext.help
|
100
|
-
* Added first version of creole2doc (should replace wiki2docgenerator)
|
101
|
-
Details see http://www.wikicreole.org/
|
102
|
-
* Little reorg of the Documentation
|
103
|
-
published 2009-06-28
|
104
|
-
|
105
|
-
1.1.2:
|
106
|
-
* Correction Creole (Unit test test_creole_mix_titles_list)
|
107
|
-
* First steps for Context-support (don't expect too much)
|
108
|
-
|
109
|
-
1.2.0:
|
110
|
-
* New gem: docgenerator_tools
|
111
|
-
* Move yaml2presentation from docgenerator to docgenerator_tools
|
112
|
-
* Creole_document makes tableofcontents for tex, not Creole#toc
|
113
|
-
* Add creole_rail.rb to docgenerator_tools
|
114
|
-
* Add rubycode4doc to docgenerator_tools
|
115
|
-
* Add code2structogramm to docgenerator_tools
|
116
|
-
* Add Creole-option :ignore
|
117
|
-
* Add Creole-option :comment
|
118
|
-
* Repair load-bug with usepackage
|
119
|
-
* Redefine pathes for privat and tools (check open)
|
120
|
-
* Add examples for docgenerator_tools
|
121
|
-
* Replace Document#runtex with rake4latex
|
122
|
-
* Add Versions to Classes...
|
123
|
-
* Reorganize unit tests
|
124
|
-
* Ruby 1.9 enabled
|
125
|
-
|
126
|
-
1.2.1 2011-02-20
|
127
|
-
* More Ruby 1.9.1 additions (convert encodings)
|
128
|
-
* Creole: Images with option width (LaTeX)
|
129
|
-
* Corrected examples, added expected results of the examples (increases gem size)
|
130
|
-
* corrections footnote handling
|
131
|
-
|
132
|
-
1.2.2
|
133
|
-
* correction wiki2docgenerator.rb, wiki2docgenerator_example.rb
|
134
|
-
* add creole2doc_example.rb
|
135
|
-
* add todonotes support (only LaTeX)
|
136
|
-
|
137
|
-
2.0.0 2011-04-29
|
138
|
-
* Pack everything in module Docgenerator
|
139
|
-
* Group classes to modules
|
140
|
-
* clean up lib-folder
|
141
|
-
* docgenerator_tools integrated in docgenerator (and docgenerator4presentation-gem)
|
142
|
-
|
143
|
-
2.1.0 2012-06-16
|
144
|
-
* Encoding:
|
145
|
-
* Switch templates to UTF-8
|
146
|
-
* enable encoding for templates + unittest_templates.rb
|
147
|
-
* Creole
|
148
|
-
* Correction Creole#toc
|
149
|
-
* Add parameter Creole#new logname
|
150
|
-
* new: Creole_longtable
|
151
|
-
* Correction implicit HTTP (Use \url instead href)
|
152
|
-
* to_creole for tables implemented
|
153
|
-
* Document.new:
|
154
|
-
* option latex_option (replacement for Document#add_option)
|
155
|
-
* option logname
|
156
|
-
* Correction element caption
|
157
|
-
* href: change internal links
|
158
|
-
* element li: add type
|
159
|
-
|
48
|
+
==Version and History
|
49
|
+
For Version see Docgenerator::VERSION,
|
50
|
+
version history see version.rb[link:files/lib/docgenerator/version_rb.html]
|
@@ -0,0 +1 @@
|
|
1
|
+
<p >Now some text <!-- comment -->interrupted by a comment</p>
|
@@ -7,11 +7,12 @@
|
|
7
7
|
<li > Docgenerator::Characters::LLeftarrow: ⇐ </li>
|
8
8
|
<li > Docgenerator::Characters::RRightarrow: ⇒ </li>
|
9
9
|
<li > Docgenerator::Characters::Underscore: _ </li>
|
10
|
-
<li > Docgenerator::Characters::
|
11
|
-
<li > Docgenerator::Characters::
|
12
|
-
<li > Docgenerator::Characters::Ldots: … </li>
|
10
|
+
<li > Docgenerator::Characters::Ndash: – </li>
|
11
|
+
<li > Docgenerator::Characters::Mdash: — </li>
|
13
12
|
<li > Docgenerator::Characters::Rightsinglequotemark: ’ </li>
|
13
|
+
<li > Docgenerator::Characters::Singlelowquotemark: ‚ </li>
|
14
14
|
<li > Docgenerator::Characters::Leftdoublequotemark: “ </li>
|
15
|
-
<li > Docgenerator::Characters::
|
16
|
-
<li > Docgenerator::Characters::
|
15
|
+
<li > Docgenerator::Characters::Rightdoublequotemark: ” </li>
|
16
|
+
<li > Docgenerator::Characters::Doublelowquotemark: „ </li>
|
17
|
+
<li > Docgenerator::Characters::Ldots: …</li>
|
17
18
|
</ul>
|
@@ -11,24 +11,26 @@
|
|
11
11
|
|
12
12
|
\item Docgenerator::Characters::Leftarrow: \ensuremath{\leftarrow}
|
13
13
|
|
14
|
-
\item Docgenerator::Characters::LLeftarrow: \ensuremath{\
|
14
|
+
\item Docgenerator::Characters::LLeftarrow: \ensuremath{\Leftarrow}
|
15
15
|
|
16
16
|
\item Docgenerator::Characters::RRightarrow: \ensuremath{\Rightarrow}
|
17
17
|
|
18
18
|
\item Docgenerator::Characters::Underscore: \_
|
19
19
|
|
20
|
-
\item Docgenerator::Characters::
|
21
|
-
|
22
|
-
\item Docgenerator::Characters::Doublelowquotemark: \glqq
|
20
|
+
\item Docgenerator::Characters::Ndash: --
|
23
21
|
|
24
|
-
\item Docgenerator::Characters::
|
22
|
+
\item Docgenerator::Characters::Mdash: ---
|
25
23
|
|
26
24
|
\item Docgenerator::Characters::Rightsinglequotemark: \rq
|
27
25
|
|
28
|
-
\item Docgenerator::Characters::
|
26
|
+
\item Docgenerator::Characters::Singlelowquotemark: \glq
|
29
27
|
|
30
|
-
\item Docgenerator::Characters::
|
28
|
+
\item Docgenerator::Characters::Leftdoublequotemark: \lq\lq{}
|
29
|
+
|
30
|
+
\item Docgenerator::Characters::Rightdoublequotemark: \grqq
|
31
|
+
|
32
|
+
\item Docgenerator::Characters::Doublelowquotemark: \glqq
|
31
33
|
|
32
|
-
\item Docgenerator::Characters::
|
34
|
+
\item Docgenerator::Characters::Ldots: \ldots
|
33
35
|
\end{itemize}
|
34
36
|
|
@@ -200,7 +200,7 @@ supports ALT text on images:
|
|
200
200
|
|
201
201
|
|
202
202
|
|
203
|
-
\includegraphics[]{Red_Flower.jpg}
|
203
|
+
\includegraphics[,]{Red_Flower.jpg}
|
204
204
|
|
205
205
|
\subsubsection{ Creole 0.4 }
|
206
206
|
|
@@ -208,8 +208,8 @@ supports ALT text on images:
|
|
208
208
|
Tables are done like this:
|
209
209
|
|
210
210
|
\begin{tabular}{ll}
|
211
|
-
header col1
|
212
|
-
& header col2
|
211
|
+
\textbf{header col1}
|
212
|
+
& \textbf{header col2}
|
213
213
|
\\
|
214
214
|
col1
|
215
215
|
& col2
|
@@ -235,8 +235,8 @@ My contact dates:\newline
|
|
235
235
|
|
236
236
|
\subsubsection{ Creole 0.5 }
|
237
237
|
\begin{tabular}{ll}
|
238
|
-
Header title
|
239
|
-
& Another header title
|
238
|
+
\textbf{Header title}
|
239
|
+
& \textbf{Another header title}
|
240
240
|
\\
|
241
241
|
\verb| //not italic text// |
|
242
242
|
& \verb| **not bold text** |
|
@@ -1,23 +1,25 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:Creole_line
|
1
|
+
---
|
2
|
+
- !ruby/struct:Struct::Creole_line
|
3
3
|
type: :dummy
|
4
4
|
content:
|
5
5
|
add_info:
|
6
|
-
- !ruby/struct:Creole_line
|
6
|
+
- !ruby/struct:Struct::Creole_line
|
7
7
|
type: :par
|
8
|
-
content:
|
9
|
-
|
8
|
+
content: ! 'Text,
|
9
|
+
|
10
10
|
more Text.
|
11
|
+
|
11
12
|
And some more text.
|
12
13
|
|
14
|
+
'
|
13
15
|
add_info:
|
14
|
-
- !ruby/struct:Creole_line
|
16
|
+
- !ruby/struct:Struct::Creole_line
|
15
17
|
type: :dummy
|
16
18
|
content:
|
17
19
|
add_info:
|
18
|
-
- !ruby/struct:Creole_line
|
20
|
+
- !ruby/struct:Struct::Creole_line
|
19
21
|
type: :par
|
20
|
-
content:
|
21
|
-
A new paragraph.
|
22
|
+
content: ! 'A new paragraph.
|
22
23
|
|
24
|
+
'
|
23
25
|
add_info:
|
@@ -1,83 +1,89 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:Creole_line
|
1
|
+
---
|
2
|
+
- !ruby/struct:Struct::Creole_line
|
3
3
|
type: :dummy
|
4
4
|
content:
|
5
5
|
add_info:
|
6
|
-
- !ruby/struct:Creole_line
|
6
|
+
- !ruby/struct:Struct::Creole_line
|
7
7
|
type: :par
|
8
|
-
content:
|
9
|
-
Text before
|
8
|
+
content: ! 'Text before
|
10
9
|
|
10
|
+
'
|
11
11
|
add_info:
|
12
|
-
- !ruby/struct:Creole_line
|
12
|
+
- !ruby/struct:Struct::Creole_line
|
13
13
|
type: :list
|
14
|
-
content:
|
15
|
-
Listentry 1
|
14
|
+
content: ! 'Listentry 1
|
16
15
|
|
17
|
-
|
18
|
-
|
19
|
-
|
16
|
+
'
|
17
|
+
add_info:
|
18
|
+
:listtype: ! '*'
|
19
|
+
- !ruby/struct:Struct::Creole_line
|
20
20
|
type: :list
|
21
|
-
content:
|
22
|
-
Listentry 2
|
21
|
+
content: ! 'Listentry 2
|
23
22
|
|
24
|
-
|
25
|
-
|
26
|
-
|
23
|
+
'
|
24
|
+
add_info:
|
25
|
+
:listtype: ! '*'
|
26
|
+
- !ruby/struct:Struct::Creole_line
|
27
27
|
type: :list
|
28
|
-
content:
|
29
|
-
Listentry 2.1
|
28
|
+
content: ! 'Listentry 2.1
|
30
29
|
|
31
|
-
|
32
|
-
|
33
|
-
|
30
|
+
'
|
31
|
+
add_info:
|
32
|
+
:listtype: ! '**'
|
33
|
+
- !ruby/struct:Struct::Creole_line
|
34
34
|
type: :list
|
35
|
-
content:
|
36
|
-
Listentry 2.2
|
35
|
+
content: ! 'Listentry 2.2
|
37
36
|
|
38
|
-
|
39
|
-
|
40
|
-
|
37
|
+
'
|
38
|
+
add_info:
|
39
|
+
:listtype: ! '**'
|
40
|
+
- !ruby/struct:Struct::Creole_line
|
41
41
|
type: :list
|
42
|
-
content:
|
43
|
-
Listentry 3
|
42
|
+
content: ! 'Listentry 3
|
44
43
|
|
45
|
-
|
46
|
-
|
47
|
-
|
44
|
+
'
|
45
|
+
add_info:
|
46
|
+
:listtype: ! '*'
|
47
|
+
- !ruby/struct:Struct::Creole_line
|
48
48
|
type: :list
|
49
|
-
content:
|
50
|
-
Listentry 3.2
|
49
|
+
content: ! 'Listentry 3.2
|
51
50
|
|
52
|
-
|
53
|
-
|
54
|
-
|
51
|
+
'
|
52
|
+
add_info:
|
53
|
+
:listtype: ! '**'
|
54
|
+
- !ruby/struct:Struct::Creole_line
|
55
55
|
type: :dummy
|
56
56
|
content:
|
57
57
|
add_info:
|
58
|
-
- !ruby/struct:Creole_line
|
58
|
+
- !ruby/struct:Struct::Creole_line
|
59
59
|
type: :dummy
|
60
60
|
content:
|
61
61
|
add_info:
|
62
|
-
- !ruby/struct:Creole_line
|
62
|
+
- !ruby/struct:Struct::Creole_line
|
63
63
|
type: :list
|
64
|
-
content:
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
64
|
+
content: ! ' You can have
|
65
|
+
|
66
|
+
multiline list items
|
67
|
+
|
68
|
+
'
|
69
|
+
add_info:
|
70
|
+
:listtype: ! '*'
|
71
|
+
- !ruby/struct:Struct::Creole_line
|
69
72
|
type: :list
|
70
|
-
content:
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
73
|
+
content: ! ' this is a second multiline
|
74
|
+
|
75
|
+
list item
|
76
|
+
|
77
|
+
'
|
78
|
+
add_info:
|
79
|
+
:listtype: ! '*'
|
80
|
+
- !ruby/struct:Struct::Creole_line
|
75
81
|
type: :dummy
|
76
82
|
content:
|
77
83
|
add_info:
|
78
|
-
- !ruby/struct:Creole_line
|
84
|
+
- !ruby/struct:Struct::Creole_line
|
79
85
|
type: :par
|
80
|
-
content:
|
81
|
-
Text afterwords
|
86
|
+
content: ! 'Text afterwords
|
82
87
|
|
88
|
+
'
|
83
89
|
add_info:
|
@@ -1,27 +1,29 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:Creole_line
|
1
|
+
---
|
2
|
+
- !ruby/struct:Struct::Creole_line
|
3
3
|
type: :dummy
|
4
4
|
content:
|
5
5
|
add_info:
|
6
|
-
- !ruby/struct:Creole_line
|
6
|
+
- !ruby/struct:Struct::Creole_line
|
7
7
|
type: :par
|
8
|
-
content:
|
9
|
-
|
8
|
+
content: ! 'This is some text,
|
9
|
+
|
10
10
|
followed by more Text.
|
11
|
+
|
11
12
|
And some more text.
|
12
13
|
|
14
|
+
'
|
13
15
|
add_info:
|
14
|
-
- !ruby/struct:Creole_line
|
16
|
+
- !ruby/struct:Struct::Creole_line
|
15
17
|
type: :dummy
|
16
18
|
content:
|
17
19
|
add_info:
|
18
|
-
- !ruby/struct:Creole_line
|
20
|
+
- !ruby/struct:Struct::Creole_line
|
19
21
|
type: :par
|
20
|
-
content:
|
21
|
-
And now a new paragraph with some other text.
|
22
|
+
content: ! 'And now a new paragraph with some other text.
|
22
23
|
|
24
|
+
'
|
23
25
|
add_info:
|
24
|
-
- !ruby/struct:Creole_line
|
26
|
+
- !ruby/struct:Struct::Creole_line
|
25
27
|
type: :dummy
|
26
28
|
content:
|
27
29
|
add_info:
|