docgenerator 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/examples/creole_example_tabular.rb +95 -0
- data/examples/docgenerator_example.rb +5 -5
- data/lib/creole/creole2doc.rb +28 -18
- data/lib/creole/creole_inclusions.rb +4 -4
- data/lib/creole/creole_placeholder.rb +4 -1
- data/lib/creole/creole_tabular.rb +173 -155
- data/lib/creole/plugins/rail.rb +118 -119
- data/lib/creole/plugins/struktex.rb +35 -35
- data/lib/creole/plugins/todonotes.rb +8 -1
- data/lib/docgenerator/attribute.rb +160 -160
- data/lib/docgenerator/characters.rb +343 -311
- data/lib/docgenerator/css.rb +167 -167
- data/lib/docgenerator/document.rb +525 -511
- data/lib/docgenerator/element.rb +316 -316
- data/lib/docgenerator/element_meta.rb +114 -114
- data/lib/docgenerator/elements.rb +19 -9
- data/lib/docgenerator/environments.rb +3 -1
- data/lib/docgenerator/lists.rb +177 -174
- data/lib/docgenerator/packages/hyperref.rb +74 -70
- data/lib/docgenerator/packages/multicol.rb +33 -0
- data/lib/docgenerator/packages/scrlettr2.rb +152 -151
- data/lib/docgenerator/packages/todonotes.rb +1 -1
- data/lib/docgenerator/tabular.rb +463 -400
- data/lib/docgenerator/templates/docgenerator_template.rb +94 -84
- data/lib/docgenerator/templates/docgenerator_template.yaml +75 -15
- data/lib/docgenerator.rb +1 -1
- data/lib/wiki2doc/wiki2docgenerator.rb +1 -1
- data/meta_test_and_doc/build__meta.rb +125 -0
- data/meta_test_and_doc/build_doc.rb +333 -0
- data/meta_test_and_doc/build_test.rb +251 -0
- data/meta_test_and_doc/manpages/attachfile.rb +389 -0
- data/meta_test_and_doc/manpages/caption.rb +133 -0
- data/meta_test_and_doc/manpages/characters.rb +3738 -0
- data/meta_test_and_doc/manpages/elements.rb +6851 -0
- data/meta_test_and_doc/manpages/environments.rb +985 -0
- data/meta_test_and_doc/manpages/footnote.rb +439 -0
- data/meta_test_and_doc/manpages/hyperref.rb +605 -0
- data/meta_test_and_doc/manpages/listings.rb +988 -0
- data/meta_test_and_doc/manpages/lists.rb +1463 -0
- data/meta_test_and_doc/manpages/others.rb +129 -0
- data/meta_test_and_doc/manpages/packages.rb +13 -0
- data/meta_test_and_doc/manpages/pdfpages.rb +108 -0
- data/meta_test_and_doc/manpages/readme.rdoc +9 -0
- data/meta_test_and_doc/manpages/scrlettr2.rb +362 -0
- data/meta_test_and_doc/manpages/scrpage2.rb +2028 -0
- data/meta_test_and_doc/manpages/sectioning.rb +2467 -0
- data/meta_test_and_doc/manpages/tables.rb +2088 -0
- data/meta_test_and_doc/manpages/todonotes.rb +235 -0
- data/meta_test_and_doc/manpages/wiki2docgenerator.rb +64 -0
- data/{readme.rd → readme.rdoc} +18 -1
- data/unittest/expected/test_tabular.creole +33 -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 +3 -3
- data/unittest/expected_creole/test_creole_inline_apostroph.html +6 -0
- data/unittest/expected_creole/test_creole_inline_apostroph.latex +8 -0
- data/unittest/expected_creole/test_creole_inline_apostroph.text +4 -0
- data/unittest/expected_creole/test_creole_input.normsource +12 -12
- data/unittest/expected_creole/test_creole_input.normsource_1.8 +23 -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.html +1 -1
- data/unittest/expected_creole/test_creole_links_implicit_end.latex +1 -1
- data/unittest/expected_creole/test_creole_list_ul.normsource +42 -42
- data/unittest/expected_creole/test_creole_list_ul.normsource_1.8 +83 -0
- data/unittest/expected_creole/test_creole_paragraphs.normsource +15 -15
- data/unittest/expected_creole/test_creole_paragraphs.normsource_1.8 +27 -0
- data/unittest/expected_creole/test_creole_tabular.creole +22 -0
- data/unittest/expected_creole/test_creole_tabular_creole.creole +19 -0
- data/unittest/expected_creole/test_creole_tabular_css.creole +24 -0
- data/unittest/expected_creole/test_creole_tabular_multicols.creole +16 -0
- data/unittest/expected_creole/test_creole_tabular_multicols.html +14 -0
- data/unittest/expected_creole/test_creole_tabular_multicols.latex +16 -0
- data/unittest/expected_creole/test_creole_tabular_with_cell_option.creole +21 -0
- data/unittest/expected_creole/test_creole_toc_level_text.html +2 -2
- data/unittest/expected_creole/test_creole_toc_level_text.latex +2 -2
- data/unittest/expected_packages/test_multicol_3.tex +2 -0
- data/unittest/expected_packages/test_multicol_3_titleline.tex +2 -0
- data/unittest/expected_templates/test_article.tex +23 -0
- data/unittest/expected_templates/test_article_utf8.tex +34 -0
- data/unittest/expected_templates/test_context.miv +18 -0
- data/unittest/expected_templates/test_creole.creole +8 -0
- data/unittest/expected_templates/test_html.html +12 -0
- data/unittest/expected_templates/test_html401_strict.html +14 -0
- data/unittest/expected_templates/test_html401_trans.html +14 -0
- data/unittest/expected_templates/test_html_utf8.html +14 -0
- data/unittest/expected_templates/test_include.tex +17 -0
- data/unittest/expected_templates/test_include_utf8.tex +17 -0
- data/unittest/expected_templates/test_text.txt +6 -0
- data/unittest/expected_templates/test_wiki.wiki +6 -0
- data/unittest/expected_templates/test_xhtml_strict.html +14 -0
- data/unittest/expected_templates/test_xhtml_trans.html +14 -0
- data/unittest/unittest_creole.rb +27 -6
- data/unittest/unittest_creole_placeholders.rb +1 -123
- data/unittest/unittest_creole_tabular.rb +174 -0
- data/unittest/unittest_docgenerator.rb +4 -3
- data/unittest/unittest_docgenerator_characters.rb +4769 -615
- data/unittest/unittest_packages_multicol.rb +84 -0
- data/unittest/unittest_rubycode4doc.rb +0 -1
- data/unittest/unittest_templates.rb +64 -0
- metadata +163 -77
- data/build_test_and_doc.rb +0 -505
- data/manpage_elements.rb +0 -10411
@@ -0,0 +1,235 @@
|
|
1
|
+
#encoding utf-8
|
2
|
+
=begin rdoc
|
3
|
+
Generated manpages for elements.
|
4
|
+
|
5
|
+
This document does not contain the implementation or code documentation.
|
6
|
+
|
7
|
+
This document is the source for a manpage for usage of Docgenerator elements.
|
8
|
+
|
9
|
+
The following Element are documented in this document:
|
10
|
+
|
11
|
+
* Docgenerator::Packages::Todonotes::Todo
|
12
|
+
* Docgenerator::Packages::Todonotes::Missingfigure
|
13
|
+
* Docgenerator::Packages::Todonotes::Listoftodos
|
14
|
+
=end
|
15
|
+
|
16
|
+
#
|
17
|
+
module Docgenerator
|
18
|
+
module Packages
|
19
|
+
module Todonotes
|
20
|
+
=begin rdoc
|
21
|
+
=Docgenerator::Packages::Todonotes::Todo
|
22
|
+
|
23
|
+
==Attributes
|
24
|
+
Attribute required? HTML LaTeX ~keyval ConTeXt Text Wiki Creole Values
|
25
|
+
====================================================================================================
|
26
|
+
color : - - - X - - - -
|
27
|
+
backgroundcolor : - - - X - - - -
|
28
|
+
linecolor : - - - X - - - -
|
29
|
+
bordercolor : - - - X - - - -
|
30
|
+
inline : - - - X - - - -
|
31
|
+
|
32
|
+
|
33
|
+
Docgenerator::Packages::Todonotes::Todo can contain content.
|
34
|
+
|
35
|
+
==Generate an object
|
36
|
+
test = Docgenerator::Packages::Todonotes::Todo.new( {
|
37
|
+
#:color => <<value>>, % optional, values: [String]
|
38
|
+
#:backgroundcolor => <<value>>, % optional, values: [String]
|
39
|
+
#:linecolor => <<value>>, % optional, values: [String]
|
40
|
+
#:bordercolor => <<value>>, % optional, values: [String]
|
41
|
+
#:inline => <<value>>, % optional, values: [true, false]
|
42
|
+
}, 'content')
|
43
|
+
|
44
|
+
Alternative generation
|
45
|
+
test = element(:todo, {...Attributes...}, 'content' )
|
46
|
+
|
47
|
+
|
48
|
+
==Outputs
|
49
|
+
===Docgenerator::Packages::Todonotes::Todo#to_latex
|
50
|
+
\todo[]{content}
|
51
|
+
|
52
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Packages::Todonotes::Todo#.to_latex
|
53
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
54
|
+
|
55
|
+
Default:
|
56
|
+
<<START>>\todo[]{content}<<END>>
|
57
|
+
|
58
|
+
* Result after Docgenerator::Packages::Todonotes::Todo#cr:
|
59
|
+
|
60
|
+
<<START>>\todo[]{content}
|
61
|
+
<<END>>
|
62
|
+
|
63
|
+
* Result after Docgenerator::Packages::Todonotes::Todo#cR:
|
64
|
+
|
65
|
+
<<START>>\todo[]{content}
|
66
|
+
<<END>>
|
67
|
+
|
68
|
+
* Result after Docgenerator::Packages::Todonotes::Todo#Cr:
|
69
|
+
|
70
|
+
<<START>>
|
71
|
+
\todo[]{content}
|
72
|
+
<<END>>
|
73
|
+
|
74
|
+
* Result after Docgenerator::Packages::Todonotes::Todo#CR:
|
75
|
+
|
76
|
+
<<START>>
|
77
|
+
\todo[]{content}
|
78
|
+
<<END>>
|
79
|
+
|
80
|
+
===Docgenerator::Packages::Todonotes::Todo#to_html
|
81
|
+
<span >content</span>
|
82
|
+
|
83
|
+
* No output routine defined for html - use a dummy
|
84
|
+
===Docgenerator::Packages::Todonotes::Todo#to_context
|
85
|
+
\todo{content}
|
86
|
+
|
87
|
+
* No output routine defined for context - use a dummy
|
88
|
+
===Docgenerator::Packages::Todonotes::Todo#to_text
|
89
|
+
content
|
90
|
+
|
91
|
+
* No output routine defined for text - use a dummy
|
92
|
+
===Docgenerator::Packages::Todonotes::Todo#to_wiki
|
93
|
+
content
|
94
|
+
|
95
|
+
|
96
|
+
* No output routine defined for wiki - use a dummy
|
97
|
+
===Docgenerator::Packages::Todonotes::Todo#to_creole
|
98
|
+
content
|
99
|
+
|
100
|
+
|
101
|
+
* No output routine defined for creole - use a dummy
|
102
|
+
=end
|
103
|
+
class Todo << Docgenerator::Element
|
104
|
+
#This coding is empty - this is the manpage definition, not the implementation
|
105
|
+
end #class Todo
|
106
|
+
end #module Todonotes
|
107
|
+
end #module Packages
|
108
|
+
end #module Docgenerator
|
109
|
+
module Docgenerator
|
110
|
+
module Packages
|
111
|
+
module Todonotes
|
112
|
+
=begin rdoc
|
113
|
+
=Docgenerator::Packages::Todonotes::Missingfigure
|
114
|
+
|
115
|
+
==Attributes
|
116
|
+
Attribute required? HTML LaTeX ~keyval ConTeXt Text Wiki Creole Values
|
117
|
+
====================================================================================================
|
118
|
+
figwidth : - - - X - - - -
|
119
|
+
|
120
|
+
|
121
|
+
Docgenerator::Packages::Todonotes::Missingfigure can contain content.
|
122
|
+
|
123
|
+
==Generate an object
|
124
|
+
test = Docgenerator::Packages::Todonotes::Missingfigure.new( {
|
125
|
+
#:figwidth => <<value>>, % optional, values: [Integer, String]
|
126
|
+
}, 'content')
|
127
|
+
|
128
|
+
Alternative generation
|
129
|
+
test = element(:missingfigure, {...Attributes...}, 'content' )
|
130
|
+
|
131
|
+
|
132
|
+
==Outputs
|
133
|
+
===Docgenerator::Packages::Todonotes::Missingfigure#to_latex
|
134
|
+
\missingfigure{content}
|
135
|
+
|
136
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Packages::Todonotes::Missingfigure#.to_latex
|
137
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
138
|
+
|
139
|
+
Default:
|
140
|
+
<<START>>\missingfigure{content}<<END>>
|
141
|
+
|
142
|
+
* Docgenerator::Packages::Todonotes::Missingfigure#cr has no effect, same result as default
|
143
|
+
* Docgenerator::Packages::Todonotes::Missingfigure#cR has no effect, same result as default
|
144
|
+
* Docgenerator::Packages::Todonotes::Missingfigure#Cr has no effect, same result as default
|
145
|
+
* Docgenerator::Packages::Todonotes::Missingfigure#CR has no effect, same result as default
|
146
|
+
===Docgenerator::Packages::Todonotes::Missingfigure#to_html
|
147
|
+
<span >content</span>
|
148
|
+
|
149
|
+
* No output routine defined for html - use a dummy
|
150
|
+
===Docgenerator::Packages::Todonotes::Missingfigure#to_context
|
151
|
+
\missingfigure{content}
|
152
|
+
|
153
|
+
* No output routine defined for context - use a dummy
|
154
|
+
===Docgenerator::Packages::Todonotes::Missingfigure#to_text
|
155
|
+
content
|
156
|
+
|
157
|
+
* No output routine defined for text - use a dummy
|
158
|
+
===Docgenerator::Packages::Todonotes::Missingfigure#to_wiki
|
159
|
+
content
|
160
|
+
|
161
|
+
|
162
|
+
* No output routine defined for wiki - use a dummy
|
163
|
+
===Docgenerator::Packages::Todonotes::Missingfigure#to_creole
|
164
|
+
content
|
165
|
+
|
166
|
+
|
167
|
+
* No output routine defined for creole - use a dummy
|
168
|
+
=end
|
169
|
+
class Missingfigure << Docgenerator::Element
|
170
|
+
#This coding is empty - this is the manpage definition, not the implementation
|
171
|
+
end #class Missingfigure
|
172
|
+
end #module Todonotes
|
173
|
+
end #module Packages
|
174
|
+
end #module Docgenerator
|
175
|
+
module Docgenerator
|
176
|
+
module Packages
|
177
|
+
module Todonotes
|
178
|
+
=begin rdoc
|
179
|
+
=Docgenerator::Packages::Todonotes::Listoftodos
|
180
|
+
|
181
|
+
Docgenerator::Packages::Todonotes::Listoftodos does not contain attributes
|
182
|
+
|
183
|
+
|
184
|
+
Docgenerator::Packages::Todonotes::Listoftodos allows no content.
|
185
|
+
|
186
|
+
==Generate an object
|
187
|
+
test = Docgenerator::Packages::Todonotes::Listoftodos.new( )
|
188
|
+
|
189
|
+
Alternative generation
|
190
|
+
test = element(:listoftodos)
|
191
|
+
|
192
|
+
|
193
|
+
==Outputs
|
194
|
+
===Docgenerator::Packages::Todonotes::Listoftodos#to_latex
|
195
|
+
\listoftodos
|
196
|
+
|
197
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Packages::Todonotes::Listoftodos#.to_latex
|
198
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
199
|
+
|
200
|
+
Default:
|
201
|
+
<<START>>\listoftodos <<END>>
|
202
|
+
|
203
|
+
* Docgenerator::Packages::Todonotes::Listoftodos#cr has no effect, same result as default
|
204
|
+
* Docgenerator::Packages::Todonotes::Listoftodos#cR has no effect, same result as default
|
205
|
+
* Docgenerator::Packages::Todonotes::Listoftodos#Cr has no effect, same result as default
|
206
|
+
* Docgenerator::Packages::Todonotes::Listoftodos#CR has no effect, same result as default
|
207
|
+
===Docgenerator::Packages::Todonotes::Listoftodos#to_html
|
208
|
+
<span />
|
209
|
+
|
210
|
+
* No output routine defined for html - use a dummy
|
211
|
+
===Docgenerator::Packages::Todonotes::Listoftodos#to_context
|
212
|
+
\listoftodos{}
|
213
|
+
|
214
|
+
* No output routine defined for context - use a dummy
|
215
|
+
===Docgenerator::Packages::Todonotes::Listoftodos#to_text
|
216
|
+
|
217
|
+
|
218
|
+
* No output routine defined for text - use a dummy
|
219
|
+
===Docgenerator::Packages::Todonotes::Listoftodos#to_wiki
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
* No output routine defined for wiki - use a dummy
|
224
|
+
===Docgenerator::Packages::Todonotes::Listoftodos#to_creole
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
* No output routine defined for creole - use a dummy
|
229
|
+
=end
|
230
|
+
class Listoftodos << Docgenerator::Element
|
231
|
+
#This coding is empty - this is the manpage definition, not the implementation
|
232
|
+
end #class Listoftodos
|
233
|
+
end #module Todonotes
|
234
|
+
end #module Packages
|
235
|
+
end #module Docgenerator
|
@@ -0,0 +1,64 @@
|
|
1
|
+
#encoding utf-8
|
2
|
+
=begin rdoc
|
3
|
+
Generated manpages for elements.
|
4
|
+
|
5
|
+
This document does not contain the implementation or code documentation.
|
6
|
+
|
7
|
+
This document is the source for a manpage for usage of Docgenerator elements.
|
8
|
+
|
9
|
+
The following Element are documented in this document:
|
10
|
+
|
11
|
+
* Docgenerator::Wikimedia::WikiCollectorHTML
|
12
|
+
=end
|
13
|
+
|
14
|
+
#
|
15
|
+
module Docgenerator
|
16
|
+
module Wikimedia
|
17
|
+
=begin rdoc
|
18
|
+
=Docgenerator::Wikimedia::WikiCollectorHTML
|
19
|
+
|
20
|
+
Docgenerator::Wikimedia::WikiCollectorHTML does not contain attributes
|
21
|
+
|
22
|
+
|
23
|
+
Docgenerator::Wikimedia::WikiCollectorHTML can contain content.
|
24
|
+
|
25
|
+
==Generate an object
|
26
|
+
test = Docgenerator::Wikimedia::WikiCollectorHTML.new( {}, 'content')
|
27
|
+
|
28
|
+
Alternative generation
|
29
|
+
test = element(:wikicollectorhtml, {}, 'content' )
|
30
|
+
|
31
|
+
|
32
|
+
==Outputs
|
33
|
+
===Docgenerator::Wikimedia::WikiCollectorHTML#to_latex
|
34
|
+
\wikicollectorhtml{content}
|
35
|
+
|
36
|
+
* No output routine defined for latex - use a dummy
|
37
|
+
===Docgenerator::Wikimedia::WikiCollectorHTML#to_html
|
38
|
+
<span >content</span>
|
39
|
+
|
40
|
+
* No output routine defined for html - use a dummy
|
41
|
+
===Docgenerator::Wikimedia::WikiCollectorHTML#to_context
|
42
|
+
\wikicollectorhtml{content}
|
43
|
+
|
44
|
+
* No output routine defined for context - use a dummy
|
45
|
+
===Docgenerator::Wikimedia::WikiCollectorHTML#to_text
|
46
|
+
content
|
47
|
+
|
48
|
+
* No output routine defined for text - use a dummy
|
49
|
+
===Docgenerator::Wikimedia::WikiCollectorHTML#to_wiki
|
50
|
+
content
|
51
|
+
|
52
|
+
|
53
|
+
* No output routine defined for wiki - use a dummy
|
54
|
+
===Docgenerator::Wikimedia::WikiCollectorHTML#to_creole
|
55
|
+
content
|
56
|
+
|
57
|
+
|
58
|
+
* No output routine defined for creole - use a dummy
|
59
|
+
=end
|
60
|
+
class WikiCollectorHTML << Docgenerator::Element
|
61
|
+
#This coding is empty - this is the manpage definition, not the implementation
|
62
|
+
end #class WikiCollectorHTML
|
63
|
+
end #module Wikimedia
|
64
|
+
end #module Docgenerator
|
data/{readme.rd → readme.rdoc}
RENAMED
@@ -134,9 +134,26 @@ Generation of calendars and event lists.
|
|
134
134
|
* add creole2doc_example.rb
|
135
135
|
* add todonotes support (only LaTeX)
|
136
136
|
|
137
|
-
2.0.0
|
137
|
+
2.0.0 2011-04-29
|
138
138
|
* Pack everything in module Docgenerator
|
139
139
|
* Group classes to modules
|
140
140
|
* clean up lib-folder
|
141
141
|
* docgenerator_tools integrated in docgenerator (and docgenerator4presentation-gem)
|
142
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
|
+
|
@@ -0,0 +1,33 @@
|
|
1
|
+
<<<tabular
|
2
|
+
|!columns=4
|
3
|
+
|!columndescription=cccc
|
4
|
+
|-
|
5
|
+
|Titel over all columns||columns=4|pos=c
|
6
|
+
|-
|
7
|
+
|SubTitel over all columns||columns=4|pos=c
|
8
|
+
|-
|
9
|
+
|1A
|
10
|
+
|1B
|
11
|
+
|1C
|
12
|
+
|1D
|
13
|
+
|-
|
14
|
+
|2A
|
15
|
+
|2B
|
16
|
+
|2C
|
17
|
+
|2D
|
18
|
+
|-
|
19
|
+
|3A
|
20
|
+
|3B
|
21
|
+
|3C
|
22
|
+
|3D
|
23
|
+
|-
|
24
|
+
|4A
|
25
|
+
|4B
|
26
|
+
|4C
|
27
|
+
|4D
|
28
|
+
|-
|
29
|
+
|5A
|
30
|
+
|5B
|
31
|
+
|5C
|
32
|
+
|5D
|
33
|
+
>>>
|
@@ -33,10 +33,10 @@ Here's a external link without a description: <a href = "http://www.wikicreole.o
|
|
33
33
|
Be careful that italic links are rendered properly: <em ><a href = "http://my.book.example/" >My Book Title</a></em>
|
34
34
|
</p>
|
35
35
|
<p >
|
36
|
-
Free links without braces should be rendered as well, like <a href = "http://www.wikicreole.org/"
|
36
|
+
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>
|
37
37
|
</p>
|
38
38
|
<p >
|
39
|
-
Creole1.0 specifies that <a href = "http://bar"
|
39
|
+
Creole1.0 specifies that <a href = "http://bar">http://bar</a> and ftp:<em >bar should not render italic,something like foo:</em>bar should render as italic.
|
40
40
|
</p>
|
41
41
|
<p >
|
42
42
|
You can use this to draw a line to separate the page:
|
@@ -116,7 +116,7 @@ You can also use it inline nowiki <span style = "display: inline;white-space:pre
|
|
116
116
|
</p>
|
117
117
|
<h1 > Escapes </h1>
|
118
118
|
<p >
|
119
|
-
Normal Link: <a href = "http://wikicreole.org/"
|
119
|
+
Normal Link: <a href = "http://wikicreole.org/">http://wikicreole.org/</a> - now same link, but escaped: ~<a href = "http://wikicreole.org/">http://wikicreole.org/</a>
|
120
120
|
</p>
|
121
121
|
<p >
|
122
122
|
Normal asterisks: ~<strong >not bold~</strong>
|
@@ -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 \
|
45
|
+
Free links without braces should be rendered as well, like \url{http://www.wikicreole.org/} and \url{http://www.wikicreole.org/users/~example.}
|
46
46
|
|
47
47
|
|
48
48
|
|
49
|
-
Creole1.0 specifies that \
|
49
|
+
Creole1.0 specifies that \url{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: \
|
181
|
+
Normal Link: \url{http://wikicreole.org/} - now same link, but escaped: ~\url{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/
|
58
|
+
Free links without braces should be rendered as well, like http://www.wikicreole.org/ and http://www.wikicreole.org/users/~example.
|
59
59
|
|
60
|
-
Creole1.0 specifies that http://bar
|
60
|
+
Creole1.0 specifies that 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
|
-------------------------
|
@@ -103,7 +103,7 @@ You can also use it inline nowiki in a sentence like this.
|
|
103
103
|
------------------------------
|
104
104
|
|
105
105
|
|
106
|
-
Normal Link: http://wikicreole.org/
|
106
|
+
Normal Link: http://wikicreole.org/ - now same link, but escaped: ~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
|
-
|
4
|
-
|
5
|
-
|
3
|
+
type: :dummy
|
4
|
+
content:
|
5
|
+
add_info:
|
6
6
|
- !ruby/struct:Creole_line
|
7
|
-
|
8
|
-
|
7
|
+
type: :par
|
8
|
+
content: |
|
9
9
|
Text,
|
10
10
|
more Text.
|
11
11
|
And some more text.
|
12
12
|
|
13
|
-
|
13
|
+
add_info:
|
14
14
|
- !ruby/struct:Creole_line
|
15
|
-
|
16
|
-
|
17
|
-
|
15
|
+
type: :dummy
|
16
|
+
content:
|
17
|
+
add_info:
|
18
18
|
- !ruby/struct:Creole_line
|
19
|
-
|
20
|
-
|
19
|
+
type: :par
|
20
|
+
content: |
|
21
21
|
A new paragraph.
|
22
22
|
|
23
|
-
|
23
|
+
add_info:
|
@@ -0,0 +1,23 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:Creole_line
|
3
|
+
:type: :dummy
|
4
|
+
:content:
|
5
|
+
:add_info:
|
6
|
+
- !ruby/struct:Creole_line
|
7
|
+
:type: :par
|
8
|
+
:content: |
|
9
|
+
Text,
|
10
|
+
more Text.
|
11
|
+
And some more text.
|
12
|
+
|
13
|
+
:add_info:
|
14
|
+
- !ruby/struct:Creole_line
|
15
|
+
:type: :dummy
|
16
|
+
:content:
|
17
|
+
:add_info:
|
18
|
+
- !ruby/struct:Creole_line
|
19
|
+
:type: :par
|
20
|
+
:content: |
|
21
|
+
A new paragraph.
|
22
|
+
|
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/"
|
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"
|
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 \
|
3
|
+
Free links without braces should be rendered as well, like \url{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: \
|
7
|
+
See also description: \url{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/
|
2
|
+
Free links without braces should be rendered as well, like 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
|
4
|
+
See also description: 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).
|