docgenerator-creole 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (221) hide show
  1. checksums.yaml +7 -0
  2. data/examples/creole_example.rb +76 -0
  3. data/examples/creole_example_footnote.rb +66 -0
  4. data/examples/creole_example_new_plugin.rb +51 -0
  5. data/examples/creole_example_placeholder.rb +77 -0
  6. data/examples/creole_example_rail.rb +155 -0
  7. data/examples/creole_example_rubycode.rb +144 -0
  8. data/examples/creole_example_struktex.rb +170 -0
  9. data/examples/creole_example_tabular.rb +96 -0
  10. data/examples/creole_example_tikz.rb +47 -0
  11. data/lib/docgenerator-creole.rb +5 -0
  12. data/lib/docgenerator/creole.rb +15 -0
  13. data/lib/docgenerator/creole/base.rb +170 -0
  14. data/lib/docgenerator/creole/characters.rb +131 -0
  15. data/lib/docgenerator/creole/creole.rb +708 -0
  16. data/lib/docgenerator/creole/document.rb +91 -0
  17. data/lib/docgenerator/creole/inclusion_and_plugins.rb +91 -0
  18. data/lib/docgenerator/creole/inclusions.rb +148 -0
  19. data/lib/docgenerator/creole/placeholder.rb +242 -0
  20. data/lib/docgenerator/creole/plugins.rb +230 -0
  21. data/lib/docgenerator/creole/plugins/index.rb +61 -0
  22. data/lib/docgenerator/creole/plugins/rail.rb +179 -0
  23. data/lib/docgenerator/creole/plugins/rubycode4creole.rb +136 -0
  24. data/lib/docgenerator/creole/plugins/struktex.rb +60 -0
  25. data/lib/docgenerator/creole/plugins/tikz.rb +93 -0
  26. data/lib/docgenerator/creole/plugins/todonotes.rb +77 -0
  27. data/lib/docgenerator/creole/tabular.rb +405 -0
  28. data/readme.rdoc +44 -0
  29. data/unittest/Red_Flower.jpg +0 -0
  30. data/unittest/expected_creole/test_creole.html +3 -0
  31. data/unittest/expected_creole/test_creole_characters_all.creole +28 -0
  32. data/unittest/expected_creole/test_creole_characters_all.html +18 -0
  33. data/unittest/expected_creole/test_creole_characters_all.latex +36 -0
  34. data/unittest/expected_creole/test_creole_characters_special.html +10 -0
  35. data/unittest/expected_creole/test_creole_characters_special.latex +18 -0
  36. data/unittest/expected_creole/test_creole_comment.context +11 -0
  37. data/unittest/expected_creole/test_creole_comment.creole +12 -0
  38. data/unittest/expected_creole/test_creole_comment.html +9 -0
  39. data/unittest/expected_creole/test_creole_comment.latex +11 -0
  40. data/unittest/expected_creole/test_creole_countdown.html +3 -0
  41. data/unittest/expected_creole/test_creole_countdown.latex +4 -0
  42. data/unittest/expected_creole/test_creole_creole1.0test.html +182 -0
  43. data/unittest/expected_creole/test_creole_creole1.0test.latex +253 -0
  44. data/unittest/expected_creole/test_creole_creole1.0test.text +160 -0
  45. data/unittest/expected_creole/test_creole_footnotes.html +9 -0
  46. data/unittest/expected_creole/test_creole_footnotes.latex +14 -0
  47. data/unittest/expected_creole/test_creole_footnotes_groupid.html +15 -0
  48. data/unittest/expected_creole/test_creole_footnotes_label.html +9 -0
  49. data/unittest/expected_creole/test_creole_headings.html +17 -0
  50. data/unittest/expected_creole/test_creole_headings.latex +19 -0
  51. data/unittest/expected_creole/test_creole_headings.text +48 -0
  52. data/unittest/expected_creole/test_creole_headings.wiki +37 -0
  53. data/unittest/expected_creole/test_creole_hr.html +7 -0
  54. data/unittest/expected_creole/test_creole_hr.latex +9 -0
  55. data/unittest/expected_creole/test_creole_hr.text +4 -0
  56. data/unittest/expected_creole/test_creole_ignore.html +3 -0
  57. data/unittest/expected_creole/test_creole_ignore.latex +4 -0
  58. data/unittest/expected_creole/test_creole_ignore.text +2 -0
  59. data/unittest/expected_creole/test_creole_inline.html +3 -0
  60. data/unittest/expected_creole/test_creole_inline.latex +4 -0
  61. data/unittest/expected_creole/test_creole_inline.text +2 -0
  62. data/unittest/expected_creole/test_creole_inline_apostroph.html +7 -0
  63. data/unittest/expected_creole/test_creole_inline_apostroph.latex +9 -0
  64. data/unittest/expected_creole/test_creole_inline_apostroph.text +5 -0
  65. data/unittest/expected_creole/test_creole_inline_ruby.html +12 -0
  66. data/unittest/expected_creole/test_creole_inline_ruby.latex +20 -0
  67. data/unittest/expected_creole/test_creole_inline_ruby_raw.html +6 -0
  68. data/unittest/expected_creole/test_creole_inline_ruby_raw.latex +8 -0
  69. data/unittest/expected_creole/test_creole_input.normsource +22 -0
  70. data/unittest/expected_creole/test_creole_input.normsource_1.8 +23 -0
  71. data/unittest/expected_creole/test_creole_input_file_simple.html +15 -0
  72. data/unittest/expected_creole/test_creole_input_file_simple_readlines.html +15 -0
  73. data/unittest/expected_creole/test_creole_label.html +12 -0
  74. data/unittest/expected_creole/test_creole_label.latex +15 -0
  75. data/unittest/expected_creole/test_creole_line_break.html +6 -0
  76. data/unittest/expected_creole/test_creole_line_break.latex +8 -0
  77. data/unittest/expected_creole/test_creole_links_explicit_internal.html +6 -0
  78. data/unittest/expected_creole/test_creole_links_explicit_internal.text +4 -0
  79. data/unittest/expected_creole/test_creole_links_explicit_with_em.html +3 -0
  80. data/unittest/expected_creole/test_creole_links_explicit_with_em.latex +4 -0
  81. data/unittest/expected_creole/test_creole_links_explicit_with_em.text +2 -0
  82. data/unittest/expected_creole/test_creole_links_external.html +6 -0
  83. data/unittest/expected_creole/test_creole_links_external.latex +8 -0
  84. data/unittest/expected_creole/test_creole_links_external.text +4 -0
  85. data/unittest/expected_creole/test_creole_links_external_implicit.html +9 -0
  86. data/unittest/expected_creole/test_creole_links_external_implicit.latex +12 -0
  87. data/unittest/expected_creole/test_creole_links_external_implicit.text +6 -0
  88. data/unittest/expected_creole/test_creole_links_file.html +6 -0
  89. data/unittest/expected_creole/test_creole_links_file.latex +8 -0
  90. data/unittest/expected_creole/test_creole_links_file.text +4 -0
  91. data/unittest/expected_creole/test_creole_links_implicit_end.creole +4 -0
  92. data/unittest/expected_creole/test_creole_links_implicit_end.html +3 -0
  93. data/unittest/expected_creole/test_creole_links_implicit_end.latex +4 -0
  94. data/unittest/expected_creole/test_creole_list_ol.html +12 -0
  95. data/unittest/expected_creole/test_creole_list_ol.latex +22 -0
  96. data/unittest/expected_creole/test_creole_list_ol_after_ul.html +12 -0
  97. data/unittest/expected_creole/test_creole_list_ol_after_ul.latex +20 -0
  98. data/unittest/expected_creole/test_creole_list_ol_after_ul.text +6 -0
  99. data/unittest/expected_creole/test_creole_list_ol_ul.html +15 -0
  100. data/unittest/expected_creole/test_creole_list_ol_ul.latex +26 -0
  101. data/unittest/expected_creole/test_creole_list_ul.html +22 -0
  102. data/unittest/expected_creole/test_creole_list_ul.latex +40 -0
  103. data/unittest/expected_creole/test_creole_list_ul.normsource +85 -0
  104. data/unittest/expected_creole/test_creole_list_ul.normsource_1.8 +83 -0
  105. data/unittest/expected_creole/test_creole_list_ul_too_much.html +24 -0
  106. data/unittest/expected_creole/test_creole_list_ul_too_much.latex +44 -0
  107. data/unittest/expected_creole/test_creole_list_ulul_without_ul.html +6 -0
  108. data/unittest/expected_creole/test_creole_list_ulul_without_ul.latex +12 -0
  109. data/unittest/expected_creole/test_creole_mix_titles_list.html +10 -0
  110. data/unittest/expected_creole/test_creole_mix_titles_list.latex +18 -0
  111. data/unittest/expected_creole/test_creole_mix_titles_list.text +12 -0
  112. data/unittest/expected_creole/test_creole_newline.html +9 -0
  113. data/unittest/expected_creole/test_creole_newline.latex +11 -0
  114. data/unittest/expected_creole/test_creole_newline.text +7 -0
  115. data/unittest/expected_creole/test_creole_paragraphs.html +6 -0
  116. data/unittest/expected_creole/test_creole_paragraphs.latex +8 -0
  117. data/unittest/expected_creole/test_creole_paragraphs.normsource +26 -0
  118. data/unittest/expected_creole/test_creole_paragraphs.normsource_1.8 +27 -0
  119. data/unittest/expected_creole/test_creole_paragraphs.text +4 -0
  120. data/unittest/expected_creole/test_creole_paragraphs.wiki +4 -0
  121. data/unittest/expected_creole/test_creole_paragraphs_wrap.html +5 -0
  122. data/unittest/expected_creole/test_creole_paragraphs_wrap.latex +6 -0
  123. data/unittest/expected_creole/test_creole_paragraphs_wrap.text +4 -0
  124. data/unittest/expected_creole/test_creole_paragraphs_wrap.wiki +4 -0
  125. data/unittest/expected_creole/test_creole_paragraphs_wrap0.html +9 -0
  126. data/unittest/expected_creole/test_creole_paragraphs_wrap0.latex +11 -0
  127. data/unittest/expected_creole/test_creole_paragraphs_wrap0.text +7 -0
  128. data/unittest/expected_creole/test_creole_paragraphs_wrap0.wiki +7 -0
  129. data/unittest/expected_creole/test_creole_paragraphs_wrap60.html +5 -0
  130. data/unittest/expected_creole/test_creole_paragraphs_wrap60.latex +6 -0
  131. data/unittest/expected_creole/test_creole_paragraphs_wrap60.text +4 -0
  132. data/unittest/expected_creole/test_creole_paragraphs_wrap60.wiki +4 -0
  133. data/unittest/expected_creole/test_creole_paragraphs_wrap_with_linebreaks.html +5 -0
  134. data/unittest/expected_creole/test_creole_paragraphs_wrap_with_linebreaks.latex +6 -0
  135. data/unittest/expected_creole/test_creole_paragraphs_wrap_with_linebreaks.text +4 -0
  136. data/unittest/expected_creole/test_creole_paragraphs_wrap_with_linebreaks.wiki +4 -0
  137. data/unittest/expected_creole/test_creole_picture_link.html +6 -0
  138. data/unittest/expected_creole/test_creole_pictures.html +10 -0
  139. data/unittest/expected_creole/test_creole_pictures.latex +13 -0
  140. data/unittest/expected_creole/test_creole_pictures_css.html +6 -0
  141. data/unittest/expected_creole/test_creole_pictures_css.latex +8 -0
  142. data/unittest/expected_creole/test_creole_pictures_imgclass.html +6 -0
  143. data/unittest/expected_creole/test_creole_pictures_imgclass.latex +8 -0
  144. data/unittest/expected_creole/test_creole_pictures_longdesc.html +3 -0
  145. data/unittest/expected_creole/test_creole_pictures_width.html +3 -0
  146. data/unittest/expected_creole/test_creole_pictures_width.latex +4 -0
  147. data/unittest/expected_creole/test_creole_placeholders_html.html +7 -0
  148. data/unittest/expected_creole/test_creole_placeholders_html.latex +8 -0
  149. data/unittest/expected_creole/test_creole_placeholders_html.text +4 -0
  150. data/unittest/expected_creole/test_creole_placeholders_latex.html +6 -0
  151. data/unittest/expected_creole/test_creole_placeholders_latex.latex +9 -0
  152. data/unittest/expected_creole/test_creole_placeholders_latex.text +4 -0
  153. data/unittest/expected_creole/test_creole_short_html.html +3 -0
  154. data/unittest/expected_creole/test_creole_short_html.latex +4 -0
  155. data/unittest/expected_creole/test_creole_short_html.text +2 -0
  156. data/unittest/expected_creole/test_creole_shy.creole +6 -0
  157. data/unittest/expected_creole/test_creole_shy.html +6 -0
  158. data/unittest/expected_creole/test_creole_shy.latex +8 -0
  159. data/unittest/expected_creole/test_creole_shy.text +4 -0
  160. data/unittest/expected_creole/test_creole_tabular.creole +22 -0
  161. data/unittest/expected_creole/test_creole_tabular.html +20 -0
  162. data/unittest/expected_creole/test_creole_tabular.latex +22 -0
  163. data/unittest/expected_creole/test_creole_tabular_creole.creole +21 -0
  164. data/unittest/expected_creole/test_creole_tabular_creole.html +20 -0
  165. data/unittest/expected_creole/test_creole_tabular_creole.latex +21 -0
  166. data/unittest/expected_creole/test_creole_tabular_css.creole +24 -0
  167. data/unittest/expected_creole/test_creole_tabular_css.html +20 -0
  168. data/unittest/expected_creole/test_creole_tabular_css.latex +22 -0
  169. data/unittest/expected_creole/test_creole_tabular_multicols.creole +16 -0
  170. data/unittest/expected_creole/test_creole_tabular_multicols.html +14 -0
  171. data/unittest/expected_creole/test_creole_tabular_multicols.latex +16 -0
  172. data/unittest/expected_creole/test_creole_tabular_row_parameters.latex +22 -0
  173. data/unittest/expected_creole/test_creole_tabular_with_cell_option.creole +21 -0
  174. data/unittest/expected_creole/test_creole_tabular_with_cell_option.html +20 -0
  175. data/unittest/expected_creole/test_creole_toc.html +13 -0
  176. data/unittest/expected_creole/test_creole_toc.latex +22 -0
  177. data/unittest/expected_creole/test_creole_toc.text +4 -0
  178. data/unittest/expected_creole/test_creole_toc_level.html +7 -0
  179. data/unittest/expected_creole/test_creole_toc_level.latex +10 -0
  180. data/unittest/expected_creole/test_creole_toc_level.text +3 -0
  181. data/unittest/expected_creole/test_creole_toc_level_text.html +8 -0
  182. data/unittest/expected_creole/test_creole_toc_level_text.latex +9 -0
  183. data/unittest/expected_creole/test_creole_toc_text.html +5 -0
  184. data/unittest/expected_creole/test_creole_toc_text.latex +5 -0
  185. data/unittest/expected_creole/test_creole_ul_multiple_line.html +7 -0
  186. data/unittest/expected_creole/test_creole_ul_multiple_line.latex +14 -0
  187. data/unittest/expected_creole/test_creole_ul_with_blank.html +11 -0
  188. data/unittest/expected_creole/test_creole_ul_with_blank.latex +20 -0
  189. data/unittest/expected_creole/test_creole_ul_with_bold.creole +0 -0
  190. data/unittest/expected_creole/test_creole_ul_with_bold.html +11 -0
  191. data/unittest/expected_creole/test_creole_ul_with_bold.latex +18 -0
  192. data/unittest/expected_creole/test_creole_ul_with_bold.text +7 -0
  193. data/unittest/expected_creole/test_creole_verbatim.html +25 -0
  194. data/unittest/expected_creole/test_creole_verbatim.latex +33 -0
  195. data/unittest/expected_creole/test_creole_verbatim.text +17 -0
  196. data/unittest/expected_creole/test_creole_verbatim_inline.html +6 -0
  197. data/unittest/expected_creole/test_creole_verbatim_inline.latex +8 -0
  198. data/unittest/expected_creole/test_creole_verbatim_inline_at_start.html +6 -0
  199. data/unittest/expected_creole/test_creole_verbatim_inline_at_start.latex +8 -0
  200. data/unittest/expected_creole_rail/test_rail_creole_object.tex +33 -0
  201. data/unittest/expected_creole_rail/test_rail_creole_placeholder.tex +40 -0
  202. data/unittest/expected_rubycode4doc/creole_complete.html +26 -0
  203. data/unittest/expected_rubycode4doc/creole_complete.tex +40 -0
  204. data/unittest/expected_rubycode4doc/creole_in_tab.html +4 -0
  205. data/unittest/expected_rubycode4doc/creole_in_tab.tex +6 -0
  206. data/unittest/expected_rubycode4doc/creole_inline_ruby.html +7 -0
  207. data/unittest/expected_rubycode4doc/creole_output.html +2 -0
  208. data/unittest/expected_rubycode4doc/creole_output.tex +4 -0
  209. data/unittest/expected_rubycode4doc/creole_rubycode.html +1 -0
  210. data/unittest/expected_rubycode4doc/creole_rubycode.tex +3 -0
  211. data/unittest/expected_rubycode4doc/creole_rubycode_evaluated.html +1 -0
  212. data/unittest/expected_rubycode4doc/creole_rubycode_evaluated.tex +3 -0
  213. data/unittest/expected_rubycode4doc/creole_rubycode_evaluated_listings.html +3 -0
  214. data/unittest/expected_rubycode4doc/creole_rubycode_evaluated_listings.tex +5 -0
  215. data/unittest/unittest_creole.rb +1379 -0
  216. data/unittest/unittest_creole_placeholders.rb +161 -0
  217. data/unittest/unittest_creole_plugin_rail.rb +148 -0
  218. data/unittest/unittest_creole_plugin_rubycode4doc.rb +123 -0
  219. data/unittest/unittest_creole_plugin_struktex.rb +26 -0
  220. data/unittest/unittest_creole_tabular.rb +212 -0
  221. metadata +529 -0
@@ -0,0 +1,6 @@
1
+ <p >
2
+ The following Rubycode is added as raw text. 1 + 1 = 2
3
+ </p>
4
+ <p >
5
+ *hallo welt
6
+ </p>
@@ -0,0 +1,8 @@
1
+
2
+
3
+ The following Rubycode is added as raw text. 1 + 1 = 2
4
+
5
+
6
+
7
+ *hallo welt
8
+
@@ -0,0 +1,22 @@
1
+ ---
2
+ - !ruby/struct:Struct::Creole_line
3
+ type: :dummy
4
+ content:
5
+ add_info:
6
+ - !ruby/struct:Struct::Creole_line
7
+ type: :par
8
+ content: |
9
+ Text,
10
+ more Text.
11
+ And some more text.
12
+ add_info:
13
+ - !ruby/struct:Struct::Creole_line
14
+ type: :dummy
15
+ content:
16
+ add_info:
17
+ - !ruby/struct:Struct::Creole_line
18
+ type: :par
19
+ content: 'A new paragraph.
20
+
21
+ '
22
+ 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:
@@ -0,0 +1,15 @@
1
+ <h1 >Title</h1>
2
+ <h2 >Subtitle</h2>
3
+ <p >
4
+ Text
5
+ </p>
6
+ <ul >
7
+ <li > item </li>
8
+ <li > item </li>
9
+ <li > item </li>
10
+ </ul>
11
+ <ol >
12
+ <li > item </li>
13
+ <li > item </li>
14
+ <li > item </li>
15
+ </ol>
@@ -0,0 +1,15 @@
1
+ <h1 >Title</h1>
2
+ <h2 >Subtitle</h2>
3
+ <p >
4
+ Text
5
+ </p>
6
+ <ul >
7
+ <li > item </li>
8
+ <li > item </li>
9
+ <li > item </li>
10
+ </ul>
11
+ <ol >
12
+ <li > item </li>
13
+ <li > item </li>
14
+ <li > item </li>
15
+ </ol>
@@ -0,0 +1,12 @@
1
+ <h2 >Titel 1</h2>
2
+ <p >
3
+ Text
4
+ </p>
5
+ <h3 >Titel 2</h3>
6
+ <p >
7
+ Text unter Titel 2
8
+ </p>
9
+ <h3 id = "2b" >Titel 2b</h3>
10
+ <p >
11
+ Text unter Titel 2b.
12
+ </p>
@@ -0,0 +1,15 @@
1
+ \subsection{Titel 1}
2
+
3
+
4
+ Text
5
+
6
+ \subsubsection{Titel 2}
7
+
8
+
9
+ Text unter Titel 2
10
+
11
+ \subsubsection{Titel 2b}\hypertarget{2b}{}\label{2b}
12
+
13
+
14
+ Text unter Titel 2b.
15
+
@@ -0,0 +1,6 @@
1
+ <p >
2
+ Character formatting extends across line breaks: <strong >bold, this is still bold. This line deliberately does not end in star-star. </strong>
3
+ </p>
4
+ <p >
5
+ Not bold. Character formatting does not cross paragraph boundaries.
6
+ </p>
@@ -0,0 +1,8 @@
1
+
2
+
3
+ Character formatting extends across line breaks: \textbf{bold, this is still bold. This line deliberately does not end in star-star. }
4
+
5
+
6
+
7
+ Not bold. Character formatting does not cross paragraph boundaries.
8
+
@@ -0,0 +1,6 @@
1
+ <p >
2
+ <a href = "#internal" >#internal</a>
3
+ </p>
4
+ <p >
5
+ <a href = "#internal" >Links inside</a>
6
+ </p>
@@ -0,0 +1,4 @@
1
+
2
+ #internal (#internal)
3
+
4
+ Links inside (#internal)
@@ -0,0 +1,3 @@
1
+ <p >
2
+ Be careful that italic links are rendered properly: <em ><a href = "http://my.book.example/" >My Book Title</a></em>
3
+ </p>
@@ -0,0 +1,4 @@
1
+
2
+
3
+ Be careful that italic links are rendered properly: \emph{\href{http://my.book.example/}{My Book Title}}
4
+
@@ -0,0 +1,2 @@
1
+
2
+ Be careful that italic links are rendered properly: My Book Title (http://my.book.example/)
@@ -0,0 +1,6 @@
1
+ <p >
2
+ Here's a external link without a description: <a href = "http://www.wikicreole.org" >http://www.wikicreole.org</a>.
3
+ </p>
4
+ <p >
5
+ And here's a external link with a description: <a href = "http://www.wikicreole.org" >wikicreole.org</a>.
6
+ </p>
@@ -0,0 +1,8 @@
1
+
2
+
3
+ Here's a external link without a description: \href{http://www.wikicreole.org}{http://www.wikicreole.org}.
4
+
5
+
6
+
7
+ And here's a external link with a description: \href{http://www.wikicreole.org}{wikicreole.org}.
8
+
@@ -0,0 +1,4 @@
1
+
2
+ Here's a external link without a description: http://www.wikicreole.org (http://www.wikicreole.org).
3
+
4
+ And here's a external link with a description: wikicreole.org (http://www.wikicreole.org).
@@ -0,0 +1,9 @@
1
+ <p >
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
+ </p>
4
+ <p >
5
+ See also description: <a href = "http://www.wikicreole.org/wiki/Links">http://www.wikicreole.org/wiki/Links</a>
6
+ </p>
7
+ <p >
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>.
9
+ </p>
@@ -0,0 +1,12 @@
1
+
2
+
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
+
5
+
6
+
7
+ See also description: \url{http://www.wikicreole.org/wiki/Links}
8
+
9
+
10
+
11
+ In case of phrase ends with . you should use explicit links like \href{http://www.wikicreole.org/users/~example}{http://www.wikicreole.org/users/~example}.
12
+
@@ -0,0 +1,6 @@
1
+
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
+
4
+ See also description: http://www.wikicreole.org/wiki/Links
5
+
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).
@@ -0,0 +1,6 @@
1
+ <p >
2
+ <a href = "./unittest_creole.rb" >./unittest_creole.rb</a>
3
+ </p>
4
+ <p >
5
+ <a href = "./unittest_creole.rb" >This unittest-source</a>
6
+ </p>
@@ -0,0 +1,8 @@
1
+
2
+
3
+ \href{./unittest_creole.rb}{./unittest_creole.rb}
4
+
5
+
6
+
7
+ \href{./unittest_creole.rb}{This unittest-source}
8
+
@@ -0,0 +1,4 @@
1
+
2
+ ./unittest_creole.rb (./unittest_creole.rb)
3
+
4
+ This unittest-source (./unittest_creole.rb)
@@ -0,0 +1,4 @@
1
+
2
+ http://www.wikicreole.org/users/~example
3
+
4
+
@@ -0,0 +1,3 @@
1
+ <p >
2
+ <a href = "http://www.wikicreole.org/users/~example">http://www.wikicreole.org/users/~example</a>
3
+ </p>
@@ -0,0 +1,4 @@
1
+
2
+
3
+ \url{http://www.wikicreole.org/users/~example}
4
+
@@ -0,0 +1,12 @@
1
+ <p >
2
+ Text before
3
+ </p>
4
+ <ol >
5
+ <li >Listentry 1 </li>
6
+ <li >Listentry 2 <ol >
7
+ <li >Listentry 2.1 </li>
8
+ <li >Listentry 2.2 </li>
9
+ </ol>
10
+ </li>
11
+ <li >Listentry 3 Text afterwords </li>
12
+ </ol>
@@ -0,0 +1,22 @@
1
+
2
+
3
+ Text before
4
+
5
+
6
+ \begin{enumerate}
7
+
8
+ \item Listentry 1
9
+
10
+ \item Listentry 2
11
+ \begin{enumerate}
12
+
13
+ \item Listentry 2.1
14
+
15
+ \item Listentry 2.2
16
+ \end{enumerate}
17
+
18
+
19
+
20
+ \item Listentry 3 Text afterwords
21
+ \end{enumerate}
22
+
@@ -0,0 +1,12 @@
1
+ <p >
2
+ Text before
3
+ </p>
4
+ <ul >
5
+ <li >Listentry 1 </li>
6
+ </ul>
7
+ <ol >
8
+ <li >Listentry 2 </li>
9
+ </ol>
10
+ <p >
11
+ Text afterwords
12
+ </p>
@@ -0,0 +1,20 @@
1
+
2
+
3
+ Text before
4
+
5
+
6
+ \begin{itemize}
7
+
8
+ \item Listentry 1
9
+ \end{itemize}
10
+
11
+
12
+ \begin{enumerate}
13
+
14
+ \item Listentry 2
15
+ \end{enumerate}
16
+
17
+
18
+
19
+ Text afterwords
20
+
@@ -0,0 +1,6 @@
1
+
2
+ Text before
3
+ - Listentry 1
4
+ - Listentry 2
5
+
6
+ Text afterwords
@@ -0,0 +1,15 @@
1
+ <p >
2
+ Text before
3
+ </p>
4
+ <ol >
5
+ <li >Listentry 1 </li>
6
+ <li >Listentry 2 <ul >
7
+ <li >Listentry 2.1 </li>
8
+ <li >Listentry 2.2 </li>
9
+ </ul>
10
+ </li>
11
+ <li >Listentry 3 </li>
12
+ </ol>
13
+ <p >
14
+ Text afterwords
15
+ </p>
@@ -0,0 +1,26 @@
1
+
2
+
3
+ Text before
4
+
5
+
6
+ \begin{enumerate}
7
+
8
+ \item Listentry 1
9
+
10
+ \item Listentry 2
11
+ \begin{itemize}
12
+
13
+ \item Listentry 2.1
14
+
15
+ \item Listentry 2.2
16
+ \end{itemize}
17
+
18
+
19
+
20
+ \item Listentry 3
21
+ \end{enumerate}
22
+
23
+
24
+
25
+ Text afterwords
26
+
@@ -0,0 +1,22 @@
1
+ <p >
2
+ Text before
3
+ </p>
4
+ <ul >
5
+ <li >Listentry 1 </li>
6
+ <li >Listentry 2 <ul >
7
+ <li >Listentry 2.1 </li>
8
+ <li >Listentry 2.2 </li>
9
+ </ul>
10
+ </li>
11
+ <li >Listentry 3 <ul >
12
+ <li >Listentry 3.2 </li>
13
+ </ul>
14
+ </li>
15
+ </ul>
16
+ <ul >
17
+ <li > You can have multiline list items </li>
18
+ <li > this is a second multiline list item </li>
19
+ </ul>
20
+ <p >
21
+ Text afterwords
22
+ </p>
@@ -0,0 +1,40 @@
1
+
2
+
3
+ Text before
4
+
5
+
6
+ \begin{itemize}
7
+
8
+ \item Listentry 1
9
+
10
+ \item Listentry 2
11
+ \begin{itemize}
12
+
13
+ \item Listentry 2.1
14
+
15
+ \item Listentry 2.2
16
+ \end{itemize}
17
+
18
+
19
+
20
+ \item Listentry 3
21
+ \begin{itemize}
22
+
23
+ \item Listentry 3.2
24
+ \end{itemize}
25
+
26
+
27
+ \end{itemize}
28
+
29
+
30
+ \begin{itemize}
31
+
32
+ \item You can have multiline list items
33
+
34
+ \item this is a second multiline list item
35
+ \end{itemize}
36
+
37
+
38
+
39
+ Text afterwords
40
+