kramdown-asciidoc 1.0.0.alpha.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.
Files changed (221) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.adoc +10 -0
  3. data/Gemfile +3 -0
  4. data/LICENSE.adoc +22 -0
  5. data/README.adoc +147 -0
  6. data/Rakefile +3 -0
  7. data/bin/kramdoc +24 -0
  8. data/kramdown-asciidoc.gemspec +41 -0
  9. data/lib/kramdown-asciidoc.rb +2 -0
  10. data/lib/kramdown-asciidoc/converter.rb +413 -0
  11. data/lib/kramdown-asciidoc/version.rb +3 -0
  12. data/spec/converter_spec.rb +114 -0
  13. data/spec/fixtures/a/bare-url.adoc +1 -0
  14. data/spec/fixtures/a/bare-url.md +1 -0
  15. data/spec/fixtures/a/interdoc-xref.adoc +1 -0
  16. data/spec/fixtures/a/interdoc-xref.md +1 -0
  17. data/spec/fixtures/a/internal.adoc +5 -0
  18. data/spec/fixtures/a/internal.md +5 -0
  19. data/spec/fixtures/a/local.adoc +1 -0
  20. data/spec/fixtures/a/local.md +1 -0
  21. data/spec/fixtures/a/url-matches-text.adoc +1 -0
  22. data/spec/fixtures/a/url-matches-text.md +1 -0
  23. data/spec/fixtures/a/url-with-text.adoc +1 -0
  24. data/spec/fixtures/a/url-with-text.md +1 -0
  25. data/spec/fixtures/blockquote/basic.adoc +3 -0
  26. data/spec/fixtures/blockquote/basic.md +1 -0
  27. data/spec/fixtures/blockquote/list.adoc +5 -0
  28. data/spec/fixtures/blockquote/list.md +3 -0
  29. data/spec/fixtures/blockquote/multiple-lines.adoc +5 -0
  30. data/spec/fixtures/blockquote/multiple-lines.md +3 -0
  31. data/spec/fixtures/blockquote/nested.adoc +7 -0
  32. data/spec/fixtures/blockquote/nested.md +3 -0
  33. data/spec/fixtures/blockquote/with-attribution.adoc +5 -0
  34. data/spec/fixtures/blockquote/with-attribution.md +3 -0
  35. data/spec/fixtures/br/tag-followed-by-newline.adoc +3 -0
  36. data/spec/fixtures/br/tag-followed-by-newline.md +3 -0
  37. data/spec/fixtures/br/tag-preceded-by-space.adoc +3 -0
  38. data/spec/fixtures/br/tag-preceded-by-space.md +1 -0
  39. data/spec/fixtures/br/tag.adoc +3 -0
  40. data/spec/fixtures/br/tag.md +1 -0
  41. data/spec/fixtures/br/trailing-double-space.adoc +3 -0
  42. data/spec/fixtures/br/trailing-double-space.md +3 -0
  43. data/spec/fixtures/codeblock/contiguous-lines.adoc +5 -0
  44. data/spec/fixtures/codeblock/contiguous-lines.md +3 -0
  45. data/spec/fixtures/codeblock/fenced/bash-to-console.adoc +4 -0
  46. data/spec/fixtures/codeblock/fenced/bash-to-console.md +3 -0
  47. data/spec/fixtures/codeblock/fenced/with-command-prompt.adoc +1 -0
  48. data/spec/fixtures/codeblock/fenced/with-command-prompt.md +3 -0
  49. data/spec/fixtures/codeblock/fenced/with-language.adoc +8 -0
  50. data/spec/fixtures/codeblock/fenced/with-language.md +7 -0
  51. data/spec/fixtures/codeblock/fenced/with-non-contiguous-command-prompts.adoc +5 -0
  52. data/spec/fixtures/codeblock/fenced/with-non-contiguous-command-prompts.md +5 -0
  53. data/spec/fixtures/codeblock/fenced/without-language.adoc +5 -0
  54. data/spec/fixtures/codeblock/fenced/without-language.md +5 -0
  55. data/spec/fixtures/codeblock/non-contiguous-lines.adoc +7 -0
  56. data/spec/fixtures/codeblock/non-contiguous-lines.md +5 -0
  57. data/spec/fixtures/codeblock/with-command-prompt.adoc +1 -0
  58. data/spec/fixtures/codeblock/with-command-prompt.md +1 -0
  59. data/spec/fixtures/codeblock/with-non-contiguous-command-prompts.adoc +5 -0
  60. data/spec/fixtures/codeblock/with-non-contiguous-command-prompts.md +3 -0
  61. data/spec/fixtures/codespan/constrained.adoc +1 -0
  62. data/spec/fixtures/codespan/constrained.md +1 -0
  63. data/spec/fixtures/codespan/literal.adoc +3 -0
  64. data/spec/fixtures/codespan/literal.md +3 -0
  65. data/spec/fixtures/em/asterisks.adoc +1 -0
  66. data/spec/fixtures/em/asterisks.md +1 -0
  67. data/spec/fixtures/em/constrained.adoc +1 -0
  68. data/spec/fixtures/em/constrained.md +1 -0
  69. data/spec/fixtures/entity/numeric.adoc +1 -0
  70. data/spec/fixtures/entity/numeric.md +1 -0
  71. data/spec/fixtures/entity/reverse.adoc +1 -0
  72. data/spec/fixtures/entity/reverse.md +1 -0
  73. data/spec/fixtures/heading/out-of-sequence.adoc +23 -0
  74. data/spec/fixtures/heading/out-of-sequence.md +21 -0
  75. data/spec/fixtures/heading/outline.adoc +13 -0
  76. data/spec/fixtures/heading/outline.md +13 -0
  77. data/spec/fixtures/heading/with-anchor.adoc +2 -0
  78. data/spec/fixtures/heading/with-anchor.md +1 -0
  79. data/spec/fixtures/heading/with-formatting.adoc +1 -0
  80. data/spec/fixtures/heading/with-formatting.md +1 -0
  81. data/spec/fixtures/hr/between-blocks.adoc +5 -0
  82. data/spec/fixtures/hr/between-blocks.md +5 -0
  83. data/spec/fixtures/hr/dashes.adoc +1 -0
  84. data/spec/fixtures/hr/dashes.md +1 -0
  85. data/spec/fixtures/html_element/abbr.adoc +1 -0
  86. data/spec/fixtures/html_element/abbr.md +1 -0
  87. data/spec/fixtures/html_element/heading-with-class.adoc +7 -0
  88. data/spec/fixtures/html_element/heading-with-class.md +5 -0
  89. data/spec/fixtures/html_element/heading-with-id.adoc +2 -0
  90. data/spec/fixtures/html_element/heading-with-id.md +1 -0
  91. data/spec/fixtures/html_element/native.adoc +1 -0
  92. data/spec/fixtures/html_element/native.md +1 -0
  93. data/spec/fixtures/html_element/sub.adoc +1 -0
  94. data/spec/fixtures/html_element/sub.md +1 -0
  95. data/spec/fixtures/html_element/sup.adoc +1 -0
  96. data/spec/fixtures/html_element/sup.md +1 -0
  97. data/spec/fixtures/img/block-with-alt.adoc +1 -0
  98. data/spec/fixtures/img/block-with-alt.md +1 -0
  99. data/spec/fixtures/img/block-with-link-and-alt.adoc +1 -0
  100. data/spec/fixtures/img/block-with-link-and-alt.md +1 -0
  101. data/spec/fixtures/img/block-with-link.adoc +1 -0
  102. data/spec/fixtures/img/block-with-link.md +1 -0
  103. data/spec/fixtures/img/block.adoc +1 -0
  104. data/spec/fixtures/img/block.md +1 -0
  105. data/spec/fixtures/img/imagesdir.adoc +4 -0
  106. data/spec/fixtures/img/imagesdir.md +3 -0
  107. data/spec/fixtures/img/imagesdir.opts +2 -0
  108. data/spec/fixtures/img/implicit-imagesdir.adoc +3 -0
  109. data/spec/fixtures/img/implicit-imagesdir.md +3 -0
  110. data/spec/fixtures/img/implicit-imagesdir.opts +2 -0
  111. data/spec/fixtures/img/inline-with-alt.adoc +1 -0
  112. data/spec/fixtures/img/inline-with-alt.md +1 -0
  113. data/spec/fixtures/img/inline-with-link-and-alt.adoc +1 -0
  114. data/spec/fixtures/img/inline-with-link-and-alt.md +1 -0
  115. data/spec/fixtures/img/inline-with-link.adoc +1 -0
  116. data/spec/fixtures/img/inline-with-link.md +1 -0
  117. data/spec/fixtures/img/inline.adoc +1 -0
  118. data/spec/fixtures/img/inline.md +1 -0
  119. data/spec/fixtures/ol/compound-separated.adoc +25 -0
  120. data/spec/fixtures/ol/compound-separated.md +23 -0
  121. data/spec/fixtures/ol/compound.adoc +25 -0
  122. data/spec/fixtures/ol/compound.md +18 -0
  123. data/spec/fixtures/ol/mixed-separated.adoc +6 -0
  124. data/spec/fixtures/ol/mixed-separated.md +11 -0
  125. data/spec/fixtures/ol/mixed.adoc +6 -0
  126. data/spec/fixtures/ol/mixed.md +6 -0
  127. data/spec/fixtures/ol/nested-separated.adoc +7 -0
  128. data/spec/fixtures/ol/nested-separated.md +13 -0
  129. data/spec/fixtures/ol/nested.adoc +7 -0
  130. data/spec/fixtures/ol/nested.md +7 -0
  131. data/spec/fixtures/ol/simple-separated.adoc +4 -0
  132. data/spec/fixtures/ol/simple-separated.md +7 -0
  133. data/spec/fixtures/ol/simple.adoc +4 -0
  134. data/spec/fixtures/ol/simple.md +4 -0
  135. data/spec/fixtures/p/admonition/emphasis.adoc +11 -0
  136. data/spec/fixtures/p/admonition/emphasis.md +11 -0
  137. data/spec/fixtures/p/admonition/in-list-item.adoc +6 -0
  138. data/spec/fixtures/p/admonition/in-list-item.md +6 -0
  139. data/spec/fixtures/p/admonition/plain.adoc +11 -0
  140. data/spec/fixtures/p/admonition/plain.md +11 -0
  141. data/spec/fixtures/p/admonition/strong-emphasis.adoc +11 -0
  142. data/spec/fixtures/p/admonition/strong-emphasis.md +11 -0
  143. data/spec/fixtures/p/multiple-lines.adoc +2 -0
  144. data/spec/fixtures/p/multiple-lines.md +2 -0
  145. data/spec/fixtures/p/multiple.adoc +3 -0
  146. data/spec/fixtures/p/multiple.md +3 -0
  147. data/spec/fixtures/p/single-line.adoc +1 -0
  148. data/spec/fixtures/p/single-line.md +1 -0
  149. data/spec/fixtures/root/body-only.adoc +1 -0
  150. data/spec/fixtures/root/body-only.md +1 -0
  151. data/spec/fixtures/root/book-doctype.adoc +10 -0
  152. data/spec/fixtures/root/book-doctype.md +9 -0
  153. data/spec/fixtures/root/header-and-body.adoc +3 -0
  154. data/spec/fixtures/root/header-and-body.md +3 -0
  155. data/spec/fixtures/root/header-only.adoc +1 -0
  156. data/spec/fixtures/root/header-only.md +1 -0
  157. data/spec/fixtures/smart_quote/apostrophe.adoc +1 -0
  158. data/spec/fixtures/smart_quote/apostrophe.md +1 -0
  159. data/spec/fixtures/smart_quote/double-quotes.adoc +1 -0
  160. data/spec/fixtures/smart_quote/double-quotes.md +1 -0
  161. data/spec/fixtures/smart_quote/single-quotes.adoc +1 -0
  162. data/spec/fixtures/smart_quote/single-quotes.md +1 -0
  163. data/spec/fixtures/strong/constrained.adoc +1 -0
  164. data/spec/fixtures/strong/constrained.md +1 -0
  165. data/spec/fixtures/strong/nested-emphasis.adoc +1 -0
  166. data/spec/fixtures/strong/nested-emphasis.md +1 -0
  167. data/spec/fixtures/table/with-header.adoc +9 -0
  168. data/spec/fixtures/table/with-header.md +4 -0
  169. data/spec/fixtures/table/without-header.adoc +8 -0
  170. data/spec/fixtures/table/without-header.md +2 -0
  171. data/spec/fixtures/text/lte.adoc +1 -0
  172. data/spec/fixtures/text/lte.md +1 -0
  173. data/spec/fixtures/text/plus-plus.adoc +6 -0
  174. data/spec/fixtures/text/plus-plus.md +5 -0
  175. data/spec/fixtures/text/typographic_sym/apostrophe.adoc +1 -0
  176. data/spec/fixtures/text/typographic_sym/apostrophe.md +1 -0
  177. data/spec/fixtures/text/typographic_sym/double-quotes.adoc +1 -0
  178. data/spec/fixtures/text/typographic_sym/double-quotes.md +1 -0
  179. data/spec/fixtures/text/typographic_sym/ellipsis.adoc +1 -0
  180. data/spec/fixtures/text/typographic_sym/ellipsis.md +1 -0
  181. data/spec/fixtures/text/typographic_sym/mdash.adoc +1 -0
  182. data/spec/fixtures/text/typographic_sym/mdash.md +1 -0
  183. data/spec/fixtures/text/typographic_sym/ndash.adoc +1 -0
  184. data/spec/fixtures/text/typographic_sym/ndash.md +1 -0
  185. data/spec/fixtures/text/typographic_sym/single-quotes.adoc +1 -0
  186. data/spec/fixtures/text/typographic_sym/single-quotes.md +1 -0
  187. data/spec/fixtures/typographic_sym/ellipsis.adoc +1 -0
  188. data/spec/fixtures/typographic_sym/ellipsis.md +1 -0
  189. data/spec/fixtures/typographic_sym/mdash.adoc +1 -0
  190. data/spec/fixtures/typographic_sym/mdash.md +1 -0
  191. data/spec/fixtures/typographic_sym/ndash.adoc +1 -0
  192. data/spec/fixtures/typographic_sym/ndash.md +1 -0
  193. data/spec/fixtures/ul/compound-separated.adoc +25 -0
  194. data/spec/fixtures/ul/compound-separated.md +23 -0
  195. data/spec/fixtures/ul/compound.adoc +25 -0
  196. data/spec/fixtures/ul/compound.md +18 -0
  197. data/spec/fixtures/ul/nested-separated.adoc +11 -0
  198. data/spec/fixtures/ul/nested-separated.md +21 -0
  199. data/spec/fixtures/ul/nested.adoc +11 -0
  200. data/spec/fixtures/ul/nested.md +11 -0
  201. data/spec/fixtures/ul/simple-separated.adoc +3 -0
  202. data/spec/fixtures/ul/simple-separated.md +5 -0
  203. data/spec/fixtures/ul/simple.adoc +3 -0
  204. data/spec/fixtures/ul/simple.md +3 -0
  205. data/spec/fixtures/xml_comment/block.adoc +7 -0
  206. data/spec/fixtures/xml_comment/block.md +6 -0
  207. data/spec/fixtures/xml_comment/line-offset-by-space.adoc +1 -0
  208. data/spec/fixtures/xml_comment/line-offset-by-space.md +1 -0
  209. data/spec/fixtures/xml_comment/line.adoc +1 -0
  210. data/spec/fixtures/xml_comment/line.md +1 -0
  211. data/spec/fixtures/xml_comment/list-separator.adoc +7 -0
  212. data/spec/fixtures/xml_comment/list-separator.md +7 -0
  213. data/spec/fixtures/xml_comment/mixed.adoc +7 -0
  214. data/spec/fixtures/xml_comment/mixed.md +6 -0
  215. data/spec/fixtures/xml_comment/multiline-span.adoc +4 -0
  216. data/spec/fixtures/xml_comment/multiline-span.md +3 -0
  217. data/spec/fixtures/xml_comment/styled.adoc +6 -0
  218. data/spec/fixtures/xml_comment/styled.md +6 -0
  219. data/spec/integration_spec.rb +27 -0
  220. data/spec/spec_helper.rb +9 -0
  221. metadata +533 -0
@@ -0,0 +1,11 @@
1
+ NOTE: Remember the milk!
2
+
3
+ IMPORTANT: Don't forget the children!
4
+
5
+ TIP: Look for the warp zone under the bridge.
6
+
7
+ CAUTION: Slippery when wet.
8
+
9
+ WARNING: The software you're about to use has not been tested.
10
+
11
+ IMPORTANT: Sign off before stepping away from the computer.
@@ -0,0 +1,11 @@
1
+ **Note:** Remember the milk!
2
+
3
+ **Attention**: Don't forget the children!
4
+
5
+ **Tip:** Look for the warp zone under the bridge.
6
+
7
+ **Caution**: Slippery when wet.
8
+
9
+ **Warning:** The software you're about to use has not been tested.
10
+
11
+ **Important**: Sign off before stepping away from the computer.
@@ -0,0 +1,2 @@
1
+ This paragraph has multiple lines that wrap after reaching the 72
2
+ character limit.
@@ -0,0 +1,2 @@
1
+ This paragraph has multiple lines that wrap after reaching the 72
2
+ character limit.
@@ -0,0 +1,3 @@
1
+ This document has multiple paragraphs.
2
+
3
+ Paragraphs are separated by a blank line.
@@ -0,0 +1,3 @@
1
+ This document has multiple paragraphs.
2
+
3
+ Paragraphs are separated by a blank line.
@@ -0,0 +1 @@
1
+ A paragraph that consists of a single line.
@@ -0,0 +1 @@
1
+ A paragraph that consists of a single line.
@@ -0,0 +1 @@
1
+ Just a simple paragraph.
@@ -0,0 +1 @@
1
+ Just a simple paragraph.
@@ -0,0 +1,10 @@
1
+ = Document Title
2
+ :doctype: book
3
+
4
+ = Part 1
5
+
6
+ == Chapter 1
7
+
8
+ = Part 2
9
+
10
+ == Chapter 2
@@ -0,0 +1,9 @@
1
+ # Document Title
2
+
3
+ # Part 1
4
+
5
+ ## Chapter 1
6
+
7
+ # Part 2
8
+
9
+ ## Chapter 2
@@ -0,0 +1,3 @@
1
+ = Document Title
2
+
3
+ Body content.
@@ -0,0 +1,3 @@
1
+ # Document Title
2
+
3
+ Body content.
@@ -0,0 +1 @@
1
+ = Document Title
@@ -0,0 +1 @@
1
+ # Document Title
@@ -0,0 +1 @@
1
+ That's all folks!
@@ -0,0 +1 @@
1
+ That's all folks!
@@ -0,0 +1 @@
1
+ "Give that fan a contract!"
@@ -0,0 +1 @@
1
+ "Give that fan a contract!"
@@ -0,0 +1 @@
1
+ Accept the terms by typing 'yes' when prompted.
@@ -0,0 +1 @@
1
+ Accept the terms by typing 'yes' when prompted.
@@ -0,0 +1 @@
1
+ You *really* need to see this.
@@ -0,0 +1 @@
1
+ You **really** need to see this.
@@ -0,0 +1 @@
1
+ *_This sentence has reached max volume._*
@@ -0,0 +1 @@
1
+ ***This sentence has reached max volume.***
@@ -0,0 +1,9 @@
1
+ |===
2
+ | Operator | Operation
3
+
4
+ | EXISTS, NOT EXISTS
5
+ | Collection emptiness testing
6
+
7
+ | *, /, DIV, MOD (%)
8
+ | Multiplication, division, modulo
9
+ |===
@@ -0,0 +1,4 @@
1
+ | Operator | Operation |
2
+ |----------|-----------|
3
+ | EXISTS, NOT EXISTS | Collection emptiness testing |
4
+ | *, /, DIV, MOD (%) | Multiplication, division, modulo |
@@ -0,0 +1,8 @@
1
+ [cols=2*]
2
+ |===
3
+ | Content from cell 1
4
+ | Content from cell 2
5
+
6
+ | Content in the first column
7
+ | Content in the second column
8
+ |===
@@ -0,0 +1,2 @@
1
+ | Content from cell 1 | Content from cell 2 |
2
+ | Content in the first column | Content in the second column |
@@ -0,0 +1 @@
1
+ The \<= operator means less than or equal to.
@@ -0,0 +1 @@
1
+ The <= operator means less than or equal to.
@@ -0,0 +1,6 @@
1
+ = SQL{pp} Guide
2
+ :pp: {plus}{plus}
3
+
4
+ == What's SQL{pp}
5
+
6
+ SQL{pp} is a SQL-inspired language for working with semi-structured data.
@@ -0,0 +1,5 @@
1
+ # SQL++ Guide
2
+
3
+ ## What's SQL++
4
+
5
+ SQL++ is a SQL-inspired language for working with semi-structured data.
@@ -0,0 +1 @@
1
+ That's all folks!
@@ -0,0 +1 @@
1
+ That’s all folks!
@@ -0,0 +1 @@
1
+ "`Give that fan a contract!`"
@@ -0,0 +1 @@
1
+ “Give that fan a contract!”
@@ -0,0 +1 @@
1
+ Once upon a time...
@@ -0,0 +1 @@
1
+ Once upon a time…
@@ -0,0 +1 @@
1
+ The board -- all 12 members -- voted unanimously to proceed.
@@ -0,0 +1 @@
1
+ The board — all 12 members — voted unanimously to proceed.
@@ -0,0 +1 @@
1
+ 9&#8211;5 is the gig.
@@ -0,0 +1 @@
1
+ 9–5 is the gig.
@@ -0,0 +1 @@
1
+ Accept the terms by typing '`yes`' when prompted.
@@ -0,0 +1 @@
1
+ Accept the terms by typing ‘yes’ when prompted.
@@ -0,0 +1 @@
1
+ It was a dark and story night...
@@ -0,0 +1 @@
1
+ It was a dark and story night...
@@ -0,0 +1 @@
1
+ The board -- all 12 members -- voted unanimously to proceed.
@@ -0,0 +1 @@
1
+ The board --- all 12 members --- voted unanimously to proceed.
@@ -0,0 +1 @@
1
+ -h, --help
@@ -0,0 +1 @@
1
+ -h, --help
@@ -0,0 +1,25 @@
1
+ * Make a new project folder
2
+ +
3
+ [source,js]
4
+ ----
5
+ const fs = require('fs')
6
+ fs.mkdirSync('project')
7
+ ----
8
+
9
+ * Initialize a new repository
10
+ +
11
+ [source,js]
12
+ ----
13
+ const git = require('isomorphic-git')
14
+ const repo = { fs, dir: 'project' }
15
+ await git.init(repo)
16
+ ----
17
+ +
18
+ This is equivalent to the following commmand:
19
+
20
+ $ git init project
21
+
22
+ * Create source files
23
+ +
24
+ We can't help you here.
25
+ This part you'll have to do on your own.
@@ -0,0 +1,23 @@
1
+ * Make a new project folder
2
+
3
+ ```js
4
+ const fs = require('fs')
5
+ fs.mkdirSync('project')
6
+ ```
7
+
8
+ * Initialize a new repository
9
+
10
+ ```js
11
+ const git = require('isomorphic-git')
12
+ const repo = { fs, dir: 'project' }
13
+ await git.init(repo)
14
+ ```
15
+
16
+ This is equivalent to the following commmand:
17
+
18
+ $ git init project
19
+
20
+ * Create source files
21
+
22
+ We can't help you here.
23
+ This part you'll have to do on your own.
@@ -0,0 +1,25 @@
1
+ * Make a new project folder
2
+ +
3
+ [source,js]
4
+ ----
5
+ const fs = require('fs')
6
+ fs.mkdirSync('project')
7
+ ----
8
+
9
+ * Initialize a new repository
10
+ +
11
+ [source,js]
12
+ ----
13
+ const git = require('isomorphic-git')
14
+ const repo = { fs, dir: 'project' }
15
+ await git.init(repo)
16
+ ----
17
+ +
18
+ This is equivalent to the following commmand:
19
+
20
+ $ git init project
21
+
22
+ * Create source files
23
+ +
24
+ We can't help you here.
25
+ This part you'll have to do on your own.
@@ -0,0 +1,18 @@
1
+ * Make a new project folder
2
+ ```js
3
+ const fs = require('fs')
4
+ fs.mkdirSync('project')
5
+ ```
6
+ * Initialize a new repository
7
+ ```js
8
+ const git = require('isomorphic-git')
9
+ const repo = { fs, dir: 'project' }
10
+ await git.init(repo)
11
+ ```
12
+ This is equivalent to the following commmand:
13
+
14
+ $ git init project
15
+ * Create source files
16
+
17
+ We can't help you here.
18
+ This part you'll have to do on your own.
@@ -0,0 +1,11 @@
1
+ * bread
2
+ ** french country
3
+ ** sourdough
4
+ ** multigrain
5
+ * milk
6
+ ** 2%
7
+ ** whole
8
+ ** skim
9
+ * eggs
10
+ ** brown
11
+ ** white
@@ -0,0 +1,21 @@
1
+ - bread
2
+
3
+ - french country
4
+
5
+ - sourdough
6
+
7
+ - multigrain
8
+
9
+ - milk
10
+
11
+ - 2%
12
+
13
+ - whole
14
+
15
+ - skim
16
+
17
+ - eggs
18
+
19
+ - brown
20
+
21
+ - white
@@ -0,0 +1,11 @@
1
+ * bread
2
+ ** french country
3
+ ** sourdough
4
+ ** multigrain
5
+ * milk
6
+ ** 2%
7
+ ** whole
8
+ ** skim
9
+ * eggs
10
+ ** brown
11
+ ** white
@@ -0,0 +1,11 @@
1
+ - bread
2
+ - french country
3
+ - sourdough
4
+ - multigrain
5
+ - milk
6
+ - 2%
7
+ - whole
8
+ - skim
9
+ - eggs
10
+ - brown
11
+ - white
@@ -0,0 +1,3 @@
1
+ * bread
2
+ * milk
3
+ * eggs
@@ -0,0 +1,5 @@
1
+ - bread
2
+
3
+ - milk
4
+
5
+ - eggs
@@ -0,0 +1,3 @@
1
+ * bread
2
+ * milk
3
+ * eggs
@@ -0,0 +1,3 @@
1
+ - bread
2
+ - milk
3
+ - eggs
@@ -0,0 +1,7 @@
1
+ ////
2
+ This
3
+ is a
4
+ block comment
5
+
6
+ which may contain blank lines
7
+ ////
@@ -0,0 +1,6 @@
1
+ <!-- This
2
+ is a
3
+ block comment
4
+
5
+ which may contain blank lines
6
+ -->
@@ -0,0 +1 @@
1
+ // This is a line comment
@@ -0,0 +1 @@
1
+ <!-- This is a line comment -->
@@ -0,0 +1 @@
1
+ // This is a line comment
@@ -0,0 +1 @@
1
+ <!-- This is a line comment -->
@@ -0,0 +1,7 @@
1
+ * foo
2
+ * bar
3
+
4
+ //-
5
+
6
+ * yin
7
+ * yang