kramdown-asciidoc 1.0.0.alpha.13 → 1.0.0.rc.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (462) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.adoc +24 -0
  3. data/Gemfile +5 -0
  4. data/README.adoc +16 -16
  5. data/kramdown-asciidoc.gemspec +5 -7
  6. data/lib/kramdown-asciidoc.rb +7 -2
  7. data/lib/kramdown-asciidoc/api.rb +83 -18
  8. data/lib/kramdown-asciidoc/cli.rb +1 -1
  9. data/lib/kramdown-asciidoc/converter.rb +12 -51
  10. data/lib/kramdown-asciidoc/kramdown_ext/parser/base.rb +8 -1
  11. data/lib/kramdown-asciidoc/kramdown_ext/parser/html.rb +5 -1
  12. data/lib/kramdown-asciidoc/preprocessors.rb +64 -0
  13. data/lib/kramdown-asciidoc/version.rb +1 -1
  14. data/lib/kramdown-asciidoc/writer.rb +8 -0
  15. metadata +5 -897
  16. data/Rakefile +0 -3
  17. data/spec/api_spec.rb +0 -228
  18. data/spec/cli_spec.rb +0 -300
  19. data/spec/converter_spec.rb +0 -271
  20. data/spec/scenario_spec.rb +0 -25
  21. data/spec/scenarios/a/bare-interdoc-xref.adoc +0 -1
  22. data/spec/scenarios/a/bare-interdoc-xref.md +0 -1
  23. data/spec/scenarios/a/bare-url.adoc +0 -1
  24. data/spec/scenarios/a/bare-url.md +0 -1
  25. data/spec/scenarios/a/containing-inline-image.adoc +0 -5
  26. data/spec/scenarios/a/containing-inline-image.md +0 -5
  27. data/spec/scenarios/a/double-underscore-in-url.adoc +0 -1
  28. data/spec/scenarios/a/double-underscore-in-url.md +0 -1
  29. data/spec/scenarios/a/interdoc-xref.adoc +0 -1
  30. data/spec/scenarios/a/interdoc-xref.md +0 -1
  31. data/spec/scenarios/a/internal.adoc +0 -5
  32. data/spec/scenarios/a/internal.md +0 -5
  33. data/spec/scenarios/a/local.adoc +0 -1
  34. data/spec/scenarios/a/local.md +0 -1
  35. data/spec/scenarios/a/no-auto-links.adoc +0 -3
  36. data/spec/scenarios/a/no-auto-links.md +0 -3
  37. data/spec/scenarios/a/no-auto-links.opts +0 -1
  38. data/spec/scenarios/a/url-matches-text.adoc +0 -2
  39. data/spec/scenarios/a/url-matches-text.md +0 -2
  40. data/spec/scenarios/a/url-with-text.adoc +0 -1
  41. data/spec/scenarios/a/url-with-text.md +0 -1
  42. data/spec/scenarios/attributes/sorting.adoc +0 -6
  43. data/spec/scenarios/attributes/sorting.md +0 -3
  44. data/spec/scenarios/attributes/sorting.opts +0 -3
  45. data/spec/scenarios/blockquote/attribution-separated.adoc +0 -5
  46. data/spec/scenarios/blockquote/attribution-separated.md +0 -5
  47. data/spec/scenarios/blockquote/attribution.adoc +0 -5
  48. data/spec/scenarios/blockquote/attribution.md +0 -3
  49. data/spec/scenarios/blockquote/basic.adoc +0 -3
  50. data/spec/scenarios/blockquote/basic.md +0 -1
  51. data/spec/scenarios/blockquote/deep-nested.adoc +0 -17
  52. data/spec/scenarios/blockquote/deep-nested.md +0 -6
  53. data/spec/scenarios/blockquote/list.adoc +0 -5
  54. data/spec/scenarios/blockquote/list.md +0 -3
  55. data/spec/scenarios/blockquote/multiple-lines.adoc +0 -5
  56. data/spec/scenarios/blockquote/multiple-lines.md +0 -3
  57. data/spec/scenarios/blockquote/nested.adoc +0 -7
  58. data/spec/scenarios/blockquote/nested.md +0 -3
  59. data/spec/scenarios/br/leading-tag.adoc +0 -2
  60. data/spec/scenarios/br/leading-tag.md +0 -2
  61. data/spec/scenarios/br/tag-followed-by-newline.adoc +0 -3
  62. data/spec/scenarios/br/tag-followed-by-newline.md +0 -3
  63. data/spec/scenarios/br/tag-in-table-cell.adoc +0 -4
  64. data/spec/scenarios/br/tag-in-table-cell.md +0 -1
  65. data/spec/scenarios/br/tag-preceded-by-space.adoc +0 -3
  66. data/spec/scenarios/br/tag-preceded-by-space.md +0 -1
  67. data/spec/scenarios/br/tag.adoc +0 -3
  68. data/spec/scenarios/br/tag.md +0 -1
  69. data/spec/scenarios/br/trailing-double-space.adoc +0 -3
  70. data/spec/scenarios/br/trailing-double-space.md +0 -3
  71. data/spec/scenarios/codeblock/command-prompt.adoc +0 -1
  72. data/spec/scenarios/codeblock/command-prompt.md +0 -1
  73. data/spec/scenarios/codeblock/contiguous-lines.adoc +0 -3
  74. data/spec/scenarios/codeblock/contiguous-lines.md +0 -3
  75. data/spec/scenarios/codeblock/dlist-like.adoc +0 -4
  76. data/spec/scenarios/codeblock/dlist-like.md +0 -2
  77. data/spec/scenarios/codeblock/fenced/command-prompt.adoc +0 -1
  78. data/spec/scenarios/codeblock/fenced/command-prompt.md +0 -3
  79. data/spec/scenarios/codeblock/fenced/language.adoc +0 -8
  80. data/spec/scenarios/codeblock/fenced/language.md +0 -7
  81. data/spec/scenarios/codeblock/fenced/non-contiguous-command-prompts.adoc +0 -6
  82. data/spec/scenarios/codeblock/fenced/non-contiguous-command-prompts.md +0 -5
  83. data/spec/scenarios/codeblock/fenced/without-language.adoc +0 -5
  84. data/spec/scenarios/codeblock/fenced/without-language.md +0 -5
  85. data/spec/scenarios/codeblock/list-like.adoc +0 -5
  86. data/spec/scenarios/codeblock/list-like.md +0 -3
  87. data/spec/scenarios/codeblock/non-contiguous-command-prompts.adoc +0 -6
  88. data/spec/scenarios/codeblock/non-contiguous-command-prompts.md +0 -3
  89. data/spec/scenarios/codeblock/non-contiguous-lines.adoc +0 -7
  90. data/spec/scenarios/codeblock/non-contiguous-lines.md +0 -5
  91. data/spec/scenarios/codespan/caret.adoc +0 -1
  92. data/spec/scenarios/codespan/caret.md +0 -1
  93. data/spec/scenarios/codespan/constrained-triple.adoc +0 -1
  94. data/spec/scenarios/codespan/constrained-triple.md +0 -1
  95. data/spec/scenarios/codespan/constrained.adoc +0 -1
  96. data/spec/scenarios/codespan/constrained.md +0 -1
  97. data/spec/scenarios/codespan/literal.adoc +0 -15
  98. data/spec/scenarios/codespan/literal.md +0 -15
  99. data/spec/scenarios/codespan/plus-plus.adoc +0 -1
  100. data/spec/scenarios/codespan/plus-plus.md +0 -1
  101. data/spec/scenarios/codespan/possessive.adoc +0 -3
  102. data/spec/scenarios/codespan/possessive.md +0 -3
  103. data/spec/scenarios/codespan/quoted.adoc +0 -1
  104. data/spec/scenarios/codespan/quoted.md +0 -1
  105. data/spec/scenarios/codespan/smart-quotes.adoc +0 -1
  106. data/spec/scenarios/codespan/smart-quotes.md +0 -1
  107. data/spec/scenarios/codespan/star-star.adoc +0 -1
  108. data/spec/scenarios/codespan/star-star.md +0 -1
  109. data/spec/scenarios/codespan/unconstrained.adoc +0 -7
  110. data/spec/scenarios/codespan/unconstrained.md +0 -7
  111. data/spec/scenarios/dl/compound-only.adoc +0 -16
  112. data/spec/scenarios/dl/compound-only.md +0 -13
  113. data/spec/scenarios/dl/compound.adoc +0 -11
  114. data/spec/scenarios/dl/compound.md +0 -7
  115. data/spec/scenarios/dl/empty-dd.adoc +0 -3
  116. data/spec/scenarios/dl/empty-dd.md +0 -4
  117. data/spec/scenarios/dl/nested-bookended.adoc +0 -8
  118. data/spec/scenarios/dl/nested-bookended.md +0 -6
  119. data/spec/scenarios/dl/nested-mixed.adoc +0 -11
  120. data/spec/scenarios/dl/nested-mixed.md +0 -11
  121. data/spec/scenarios/dl/nested.adoc +0 -15
  122. data/spec/scenarios/dl/nested.md +0 -23
  123. data/spec/scenarios/dl/simple.adoc +0 -9
  124. data/spec/scenarios/dl/simple.md +0 -10
  125. data/spec/scenarios/em/asterisks.adoc +0 -1
  126. data/spec/scenarios/em/asterisks.md +0 -1
  127. data/spec/scenarios/em/constrained.adoc +0 -1
  128. data/spec/scenarios/em/constrained.md +0 -1
  129. data/spec/scenarios/em/strong.adoc +0 -1
  130. data/spec/scenarios/em/strong.md +0 -1
  131. data/spec/scenarios/em/unconstrained.adoc +0 -4
  132. data/spec/scenarios/em/unconstrained.md +0 -4
  133. data/spec/scenarios/entity/numeric.adoc +0 -1
  134. data/spec/scenarios/entity/numeric.md +0 -1
  135. data/spec/scenarios/entity/reverse.adoc +0 -5
  136. data/spec/scenarios/entity/reverse.md +0 -5
  137. data/spec/scenarios/heading/anchor-with-dot.adoc +0 -2
  138. data/spec/scenarios/heading/anchor-with-dot.md +0 -1
  139. data/spec/scenarios/heading/auto_ids/auto-id-prefix.adoc +0 -11
  140. data/spec/scenarios/heading/auto_ids/auto-id-prefix.md +0 -7
  141. data/spec/scenarios/heading/auto_ids/auto-id-prefix.opts +0 -2
  142. data/spec/scenarios/heading/auto_ids/character-reference.adoc +0 -8
  143. data/spec/scenarios/heading/auto_ids/character-reference.md +0 -5
  144. data/spec/scenarios/heading/auto_ids/character-reference.opts +0 -1
  145. data/spec/scenarios/heading/auto_ids/disabled.adoc +0 -3
  146. data/spec/scenarios/heading/auto_ids/disabled.md +0 -3
  147. data/spec/scenarios/heading/auto_ids/disabled.opts +0 -3
  148. data/spec/scenarios/heading/auto_ids/dot-separator.adoc +0 -2
  149. data/spec/scenarios/heading/auto_ids/dot-separator.md +0 -1
  150. data/spec/scenarios/heading/auto_ids/dot-separator.opts +0 -2
  151. data/spec/scenarios/heading/auto_ids/explicit-id.adoc +0 -14
  152. data/spec/scenarios/heading/auto_ids/explicit-id.md +0 -9
  153. data/spec/scenarios/heading/auto_ids/explicit-id.opts +0 -1
  154. data/spec/scenarios/heading/auto_ids/kramdown-input-character-reference.adoc +0 -8
  155. data/spec/scenarios/heading/auto_ids/kramdown-input-character-reference.md +0 -5
  156. data/spec/scenarios/heading/auto_ids/kramdown-input-character-reference.opts +0 -2
  157. data/spec/scenarios/heading/auto_ids/kramdown-input.adoc +0 -14
  158. data/spec/scenarios/heading/auto_ids/kramdown-input.md +0 -9
  159. data/spec/scenarios/heading/auto_ids/kramdown-input.opts +0 -2
  160. data/spec/scenarios/heading/auto_ids/no-ids.adoc +0 -14
  161. data/spec/scenarios/heading/auto_ids/no-ids.md +0 -9
  162. data/spec/scenarios/heading/auto_ids/no-ids.opts +0 -1
  163. data/spec/scenarios/heading/block-title.adoc +0 -11
  164. data/spec/scenarios/heading/block-title.md +0 -11
  165. data/spec/scenarios/heading/formatting.adoc +0 -1
  166. data/spec/scenarios/heading/formatting.md +0 -1
  167. data/spec/scenarios/heading/lazy_ids/auto-ids-sync-id-attrs.adoc +0 -7
  168. data/spec/scenarios/heading/lazy_ids/auto-ids-sync-id-attrs.md +0 -5
  169. data/spec/scenarios/heading/lazy_ids/auto-ids-sync-id-attrs.opts +0 -5
  170. data/spec/scenarios/heading/lazy_ids/auto-ids.adoc +0 -10
  171. data/spec/scenarios/heading/lazy_ids/auto-ids.md +0 -7
  172. data/spec/scenarios/heading/lazy_ids/auto-ids.opts +0 -4
  173. data/spec/scenarios/heading/lazy_ids/explicit-ids-dot-separator.adoc +0 -9
  174. data/spec/scenarios/heading/lazy_ids/explicit-ids-dot-separator.md +0 -7
  175. data/spec/scenarios/heading/lazy_ids/explicit-ids-dot-separator.opts +0 -3
  176. data/spec/scenarios/heading/lazy_ids/explicit-ids-empty-prefix.adoc +0 -9
  177. data/spec/scenarios/heading/lazy_ids/explicit-ids-empty-prefix.md +0 -7
  178. data/spec/scenarios/heading/lazy_ids/explicit-ids-empty-prefix.opts +0 -3
  179. data/spec/scenarios/heading/lazy_ids/explicit-ids-empty-separator.adoc +0 -9
  180. data/spec/scenarios/heading/lazy_ids/explicit-ids-empty-separator.md +0 -7
  181. data/spec/scenarios/heading/lazy_ids/explicit-ids-empty-separator.opts +0 -3
  182. data/spec/scenarios/heading/lazy_ids/explicit-ids-zero-separator.adoc +0 -7
  183. data/spec/scenarios/heading/lazy_ids/explicit-ids-zero-separator.md +0 -5
  184. data/spec/scenarios/heading/lazy_ids/explicit-ids-zero-separator.opts +0 -3
  185. data/spec/scenarios/heading/lazy_ids/explicit-ids.adoc +0 -15
  186. data/spec/scenarios/heading/lazy_ids/explicit-ids.md +0 -13
  187. data/spec/scenarios/heading/lazy_ids/explicit-ids.opts +0 -1
  188. data/spec/scenarios/heading/leading-anchor.adoc +0 -2
  189. data/spec/scenarios/heading/leading-anchor.md +0 -1
  190. data/spec/scenarios/heading/not-block-title.adoc +0 -8
  191. data/spec/scenarios/heading/not-block-title.md +0 -7
  192. data/spec/scenarios/heading/offset.adoc +0 -5
  193. data/spec/scenarios/heading/offset.md +0 -5
  194. data/spec/scenarios/heading/offset.opts +0 -1
  195. data/spec/scenarios/heading/out-of-sequence.adoc +0 -23
  196. data/spec/scenarios/heading/out-of-sequence.md +0 -21
  197. data/spec/scenarios/heading/outline.adoc +0 -13
  198. data/spec/scenarios/heading/outline.md +0 -13
  199. data/spec/scenarios/heading/surrounding-anchor.adoc +0 -2
  200. data/spec/scenarios/heading/surrounding-anchor.md +0 -1
  201. data/spec/scenarios/hr/around-block.adoc +0 -5
  202. data/spec/scenarios/hr/around-block.md +0 -5
  203. data/spec/scenarios/hr/between-blocks.adoc +0 -5
  204. data/spec/scenarios/hr/between-blocks.md +0 -5
  205. data/spec/scenarios/hr/dashes.adoc +0 -1
  206. data/spec/scenarios/hr/dashes.md +0 -1
  207. data/spec/scenarios/html_element/abbr.adoc +0 -1
  208. data/spec/scenarios/html_element/abbr.md +0 -1
  209. data/spec/scenarios/html_element/admonition.adoc +0 -5
  210. data/spec/scenarios/html_element/admonition.md +0 -7
  211. data/spec/scenarios/html_element/div-mixed.adoc +0 -1
  212. data/spec/scenarios/html_element/div-mixed.md +0 -4
  213. data/spec/scenarios/html_element/div-text-only.adoc +0 -1
  214. data/spec/scenarios/html_element/div-text-only.md +0 -1
  215. data/spec/scenarios/html_element/empty-p.adoc +0 -5
  216. data/spec/scenarios/html_element/empty-p.md +0 -5
  217. data/spec/scenarios/html_element/heading-with-class.adoc +0 -7
  218. data/spec/scenarios/html_element/heading-with-class.md +0 -5
  219. data/spec/scenarios/html_element/heading-with-id.adoc +0 -2
  220. data/spec/scenarios/html_element/heading-with-id.md +0 -1
  221. data/spec/scenarios/html_element/image-with-id.adoc +0 -2
  222. data/spec/scenarios/html_element/image-with-id.md +0 -1
  223. data/spec/scenarios/html_element/img-with-alt-and-width.adoc +0 -1
  224. data/spec/scenarios/html_element/img-with-alt-and-width.md +0 -1
  225. data/spec/scenarios/html_element/img-with-percentage-width-css.adoc +0 -1
  226. data/spec/scenarios/html_element/img-with-percentage-width-css.md +0 -1
  227. data/spec/scenarios/html_element/img-with-percentage-width.adoc +0 -1
  228. data/spec/scenarios/html_element/img-with-percentage-width.md +0 -1
  229. data/spec/scenarios/html_element/img-with-width-css.adoc +0 -1
  230. data/spec/scenarios/html_element/img-with-width-css.md +0 -1
  231. data/spec/scenarios/html_element/img-with-width.adoc +0 -1
  232. data/spec/scenarios/html_element/img-with-width.md +0 -1
  233. data/spec/scenarios/html_element/img.adoc +0 -2
  234. data/spec/scenarios/html_element/img.md +0 -1
  235. data/spec/scenarios/html_element/mark.adoc +0 -1
  236. data/spec/scenarios/html_element/mark.md +0 -1
  237. data/spec/scenarios/html_element/native.adoc +0 -1
  238. data/spec/scenarios/html_element/native.md +0 -1
  239. data/spec/scenarios/html_element/pre-code-with-language.adoc +0 -6
  240. data/spec/scenarios/html_element/pre-code-with-language.md +0 -4
  241. data/spec/scenarios/html_element/span.adoc +0 -3
  242. data/spec/scenarios/html_element/span.md +0 -3
  243. data/spec/scenarios/html_element/strike.adoc +0 -1
  244. data/spec/scenarios/html_element/strike.md +0 -1
  245. data/spec/scenarios/html_element/sub.adoc +0 -1
  246. data/spec/scenarios/html_element/sub.md +0 -1
  247. data/spec/scenarios/html_element/sup.adoc +0 -1
  248. data/spec/scenarios/html_element/sup.md +0 -1
  249. data/spec/scenarios/html_element/unrecognized-admonition.adoc +0 -5
  250. data/spec/scenarios/html_element/unrecognized-admonition.md +0 -5
  251. data/spec/scenarios/img/block-in-list.adoc +0 -5
  252. data/spec/scenarios/img/block-in-list.md +0 -5
  253. data/spec/scenarios/img/block-with-alt.adoc +0 -1
  254. data/spec/scenarios/img/block-with-alt.md +0 -1
  255. data/spec/scenarios/img/block-with-link-and-alt.adoc +0 -1
  256. data/spec/scenarios/img/block-with-link-and-alt.md +0 -1
  257. data/spec/scenarios/img/block-with-link.adoc +0 -1
  258. data/spec/scenarios/img/block-with-link.md +0 -1
  259. data/spec/scenarios/img/block.adoc +0 -1
  260. data/spec/scenarios/img/block.md +0 -1
  261. data/spec/scenarios/img/imagesdir.adoc +0 -4
  262. data/spec/scenarios/img/imagesdir.md +0 -3
  263. data/spec/scenarios/img/imagesdir.opts +0 -2
  264. data/spec/scenarios/img/implicit-imagesdir.adoc +0 -3
  265. data/spec/scenarios/img/implicit-imagesdir.md +0 -3
  266. data/spec/scenarios/img/implicit-imagesdir.opts +0 -1
  267. data/spec/scenarios/img/inline-with-alt.adoc +0 -1
  268. data/spec/scenarios/img/inline-with-alt.md +0 -1
  269. data/spec/scenarios/img/inline-with-link-and-alt.adoc +0 -1
  270. data/spec/scenarios/img/inline-with-link-and-alt.md +0 -1
  271. data/spec/scenarios/img/inline-with-link.adoc +0 -1
  272. data/spec/scenarios/img/inline-with-link.md +0 -1
  273. data/spec/scenarios/img/inline.adoc +0 -1
  274. data/spec/scenarios/img/inline.md +0 -1
  275. data/spec/scenarios/ol/compound-separated.adoc +0 -29
  276. data/spec/scenarios/ol/compound-separated.md +0 -25
  277. data/spec/scenarios/ol/compound.adoc +0 -29
  278. data/spec/scenarios/ol/compound.md +0 -20
  279. data/spec/scenarios/ol/formatted.adoc +0 -3
  280. data/spec/scenarios/ol/formatted.md +0 -3
  281. data/spec/scenarios/ol/mixed-separated.adoc +0 -6
  282. data/spec/scenarios/ol/mixed-separated.md +0 -11
  283. data/spec/scenarios/ol/mixed.adoc +0 -6
  284. data/spec/scenarios/ol/mixed.md +0 -6
  285. data/spec/scenarios/ol/nested-mixed.adoc +0 -8
  286. data/spec/scenarios/ol/nested-mixed.md +0 -8
  287. data/spec/scenarios/ol/nested-separated.adoc +0 -7
  288. data/spec/scenarios/ol/nested-separated.md +0 -13
  289. data/spec/scenarios/ol/nested.adoc +0 -7
  290. data/spec/scenarios/ol/nested.md +0 -7
  291. data/spec/scenarios/ol/simple-separated.adoc +0 -4
  292. data/spec/scenarios/ol/simple-separated.md +0 -7
  293. data/spec/scenarios/ol/simple.adoc +0 -4
  294. data/spec/scenarios/ol/simple.md +0 -4
  295. data/spec/scenarios/p/admonition/emphasis.adoc +0 -11
  296. data/spec/scenarios/p/admonition/emphasis.md +0 -11
  297. data/spec/scenarios/p/admonition/in-blockquote.adoc +0 -1
  298. data/spec/scenarios/p/admonition/in-blockquote.md +0 -1
  299. data/spec/scenarios/p/admonition/in-compound-blockquote.adoc +0 -5
  300. data/spec/scenarios/p/admonition/in-compound-blockquote.md +0 -3
  301. data/spec/scenarios/p/admonition/in-list-item.adoc +0 -6
  302. data/spec/scenarios/p/admonition/in-list-item.md +0 -6
  303. data/spec/scenarios/p/admonition/label-only.adoc +0 -1
  304. data/spec/scenarios/p/admonition/label-only.md +0 -1
  305. data/spec/scenarios/p/admonition/plain.adoc +0 -13
  306. data/spec/scenarios/p/admonition/plain.md +0 -13
  307. data/spec/scenarios/p/admonition/strong-emphasis.adoc +0 -11
  308. data/spec/scenarios/p/admonition/strong-emphasis.md +0 -11
  309. data/spec/scenarios/p/multiple-lines.adoc +0 -2
  310. data/spec/scenarios/p/multiple-lines.md +0 -2
  311. data/spec/scenarios/p/sequential.adoc +0 -3
  312. data/spec/scenarios/p/sequential.md +0 -3
  313. data/spec/scenarios/p/single-line.adoc +0 -1
  314. data/spec/scenarios/p/single-line.md +0 -1
  315. data/spec/scenarios/root/body-only.adoc +0 -1
  316. data/spec/scenarios/root/body-only.md +0 -1
  317. data/spec/scenarios/root/book-doctype.adoc +0 -10
  318. data/spec/scenarios/root/book-doctype.md +0 -9
  319. data/spec/scenarios/root/header-and-body.adoc +0 -3
  320. data/spec/scenarios/root/header-and-body.md +0 -3
  321. data/spec/scenarios/root/header-only.adoc +0 -1
  322. data/spec/scenarios/root/header-only.md +0 -1
  323. data/spec/scenarios/smart_quote/apostrophe.adoc +0 -1
  324. data/spec/scenarios/smart_quote/apostrophe.md +0 -1
  325. data/spec/scenarios/smart_quote/double-quotes.adoc +0 -1
  326. data/spec/scenarios/smart_quote/double-quotes.md +0 -1
  327. data/spec/scenarios/smart_quote/single-quotes.adoc +0 -1
  328. data/spec/scenarios/smart_quote/single-quotes.md +0 -1
  329. data/spec/scenarios/strong/constrained.adoc +0 -1
  330. data/spec/scenarios/strong/constrained.md +0 -1
  331. data/spec/scenarios/strong/menu.adoc +0 -3
  332. data/spec/scenarios/strong/menu.md +0 -1
  333. data/spec/scenarios/strong/nested-emphasis.adoc +0 -1
  334. data/spec/scenarios/strong/nested-emphasis.md +0 -1
  335. data/spec/scenarios/strong/unconstrained.adoc +0 -8
  336. data/spec/scenarios/strong/unconstrained.md +0 -8
  337. data/spec/scenarios/table/alignment.adoc +0 -19
  338. data/spec/scenarios/table/alignment.md +0 -8
  339. data/spec/scenarios/table/cell-with-image.adoc +0 -9
  340. data/spec/scenarios/table/cell-with-image.md +0 -4
  341. data/spec/scenarios/table/cell-with-pipe.adoc +0 -5
  342. data/spec/scenarios/table/cell-with-pipe.md +0 -1
  343. data/spec/scenarios/table/header.adoc +0 -9
  344. data/spec/scenarios/table/header.md +0 -4
  345. data/spec/scenarios/table/no-header.adoc +0 -8
  346. data/spec/scenarios/table/no-header.md +0 -2
  347. data/spec/scenarios/table/single-column-with-header.adoc +0 -6
  348. data/spec/scenarios/table/single-column-with-header.md +0 -4
  349. data/spec/scenarios/table/single-column-without-header.adoc +0 -4
  350. data/spec/scenarios/table/single-column-without-header.md +0 -2
  351. data/spec/scenarios/text/attribute-reference.adoc +0 -1
  352. data/spec/scenarios/text/attribute-reference.md +0 -1
  353. data/spec/scenarios/text/caret.adoc +0 -1
  354. data/spec/scenarios/text/caret.md +0 -1
  355. data/spec/scenarios/text/lte.adoc +0 -1
  356. data/spec/scenarios/text/lte.md +0 -1
  357. data/spec/scenarios/text/nbsp.adoc +0 -1
  358. data/spec/scenarios/text/nbsp.md +0 -1
  359. data/spec/scenarios/text/plus-plus.adoc +0 -6
  360. data/spec/scenarios/text/plus-plus.md +0 -5
  361. data/spec/scenarios/text/right-arrow.adoc +0 -1
  362. data/spec/scenarios/text/right-arrow.md +0 -1
  363. data/spec/scenarios/text/typographic_sym/apostrophe.adoc +0 -3
  364. data/spec/scenarios/text/typographic_sym/apostrophe.md +0 -3
  365. data/spec/scenarios/text/typographic_sym/double-quotes.adoc +0 -1
  366. data/spec/scenarios/text/typographic_sym/double-quotes.md +0 -1
  367. data/spec/scenarios/text/typographic_sym/ellipsis.adoc +0 -1
  368. data/spec/scenarios/text/typographic_sym/ellipsis.md +0 -1
  369. data/spec/scenarios/text/typographic_sym/mdash.adoc +0 -1
  370. data/spec/scenarios/text/typographic_sym/mdash.md +0 -1
  371. data/spec/scenarios/text/typographic_sym/ndash.adoc +0 -1
  372. data/spec/scenarios/text/typographic_sym/ndash.md +0 -1
  373. data/spec/scenarios/text/typographic_sym/single-quotes.adoc +0 -1
  374. data/spec/scenarios/text/typographic_sym/single-quotes.md +0 -1
  375. data/spec/scenarios/trailing_space.adoc +0 -7
  376. data/spec/scenarios/trailing_space.md +0 -7
  377. data/spec/scenarios/typographic_sym/ellipsis.adoc +0 -1
  378. data/spec/scenarios/typographic_sym/ellipsis.md +0 -1
  379. data/spec/scenarios/typographic_sym/mdash.adoc +0 -1
  380. data/spec/scenarios/typographic_sym/mdash.md +0 -1
  381. data/spec/scenarios/typographic_sym/ndash.adoc +0 -1
  382. data/spec/scenarios/typographic_sym/ndash.md +0 -1
  383. data/spec/scenarios/ul/blockquote.adoc +0 -5
  384. data/spec/scenarios/ul/blockquote.md +0 -2
  385. data/spec/scenarios/ul/compound-nested.adoc +0 -23
  386. data/spec/scenarios/ul/compound-nested.md +0 -19
  387. data/spec/scenarios/ul/compound-only.adoc +0 -5
  388. data/spec/scenarios/ul/compound-only.md +0 -3
  389. data/spec/scenarios/ul/compound-separated.adoc +0 -41
  390. data/spec/scenarios/ul/compound-separated.md +0 -32
  391. data/spec/scenarios/ul/compound.adoc +0 -41
  392. data/spec/scenarios/ul/compound.md +0 -26
  393. data/spec/scenarios/ul/formatted.adoc +0 -3
  394. data/spec/scenarios/ul/formatted.md +0 -3
  395. data/spec/scenarios/ul/inside-delimited-block.adoc +0 -9
  396. data/spec/scenarios/ul/inside-delimited-block.md +0 -7
  397. data/spec/scenarios/ul/nested-bookended.adoc +0 -7
  398. data/spec/scenarios/ul/nested-bookended.md +0 -7
  399. data/spec/scenarios/ul/nested-separated.adoc +0 -11
  400. data/spec/scenarios/ul/nested-separated.md +0 -21
  401. data/spec/scenarios/ul/nested.adoc +0 -11
  402. data/spec/scenarios/ul/nested.md +0 -11
  403. data/spec/scenarios/ul/simple-separated.adoc +0 -3
  404. data/spec/scenarios/ul/simple-separated.md +0 -5
  405. data/spec/scenarios/ul/simple.adoc +0 -3
  406. data/spec/scenarios/ul/simple.md +0 -3
  407. data/spec/scenarios/wrap/containing-line-comment.adoc +0 -3
  408. data/spec/scenarios/wrap/containing-line-comment.md +0 -3
  409. data/spec/scenarios/wrap/containing-line-comment.opts +0 -1
  410. data/spec/scenarios/wrap/none.adoc +0 -1
  411. data/spec/scenarios/wrap/none.md +0 -4
  412. data/spec/scenarios/wrap/none.opts +0 -1
  413. data/spec/scenarios/wrap/preserve.adoc +0 -5
  414. data/spec/scenarios/wrap/preserve.md +0 -5
  415. data/spec/scenarios/wrap/preserve.opts +0 -1
  416. data/spec/scenarios/wrap/ventilate-exclamation.adoc +0 -3
  417. data/spec/scenarios/wrap/ventilate-exclamation.md +0 -1
  418. data/spec/scenarios/wrap/ventilate-exclamation.opts +0 -1
  419. data/spec/scenarios/wrap/ventilate-french.adoc +0 -3
  420. data/spec/scenarios/wrap/ventilate-french.md +0 -1
  421. data/spec/scenarios/wrap/ventilate-french.opts +0 -1
  422. data/spec/scenarios/wrap/ventilate-question.adoc +0 -3
  423. data/spec/scenarios/wrap/ventilate-question.md +0 -3
  424. data/spec/scenarios/wrap/ventilate-question.opts +0 -1
  425. data/spec/scenarios/wrap/ventilate-table-cell.adoc +0 -9
  426. data/spec/scenarios/wrap/ventilate-table-cell.md +0 -3
  427. data/spec/scenarios/wrap/ventilate-table-cell.opts +0 -1
  428. data/spec/scenarios/wrap/ventilate-with-comments.adoc +0 -5
  429. data/spec/scenarios/wrap/ventilate-with-comments.md +0 -5
  430. data/spec/scenarios/wrap/ventilate-with-comments.opts +0 -1
  431. data/spec/scenarios/wrap/ventilate.adoc +0 -2
  432. data/spec/scenarios/wrap/ventilate.md +0 -6
  433. data/spec/scenarios/wrap/ventilate.opts +0 -1
  434. data/spec/scenarios/xml_comment/above-block.adoc +0 -7
  435. data/spec/scenarios/xml_comment/above-block.md +0 -5
  436. data/spec/scenarios/xml_comment/above-header.adoc +0 -13
  437. data/spec/scenarios/xml_comment/above-header.md +0 -16
  438. data/spec/scenarios/xml_comment/at-start-of-line.adoc +0 -9
  439. data/spec/scenarios/xml_comment/at-start-of-line.md +0 -4
  440. data/spec/scenarios/xml_comment/block.adoc +0 -7
  441. data/spec/scenarios/xml_comment/block.md +0 -6
  442. data/spec/scenarios/xml_comment/line-adjacent-to-text.adoc +0 -2
  443. data/spec/scenarios/xml_comment/line-adjacent-to-text.md +0 -1
  444. data/spec/scenarios/xml_comment/line-empty.adoc +0 -7
  445. data/spec/scenarios/xml_comment/line-empty.md +0 -9
  446. data/spec/scenarios/xml_comment/line-offset-by-space.adoc +0 -1
  447. data/spec/scenarios/xml_comment/line-offset-by-space.md +0 -1
  448. data/spec/scenarios/xml_comment/line.adoc +0 -1
  449. data/spec/scenarios/xml_comment/line.md +0 -1
  450. data/spec/scenarios/xml_comment/list-separator.adoc +0 -7
  451. data/spec/scenarios/xml_comment/list-separator.md +0 -7
  452. data/spec/scenarios/xml_comment/mixed.adoc +0 -7
  453. data/spec/scenarios/xml_comment/mixed.md +0 -6
  454. data/spec/scenarios/xml_comment/multiline-span.adoc +0 -8
  455. data/spec/scenarios/xml_comment/multiline-span.md +0 -7
  456. data/spec/scenarios/xml_comment/p-separator.adoc +0 -5
  457. data/spec/scenarios/xml_comment/p-separator.md +0 -5
  458. data/spec/scenarios/xml_comment/styled.adoc +0 -6
  459. data/spec/scenarios/xml_comment/styled.md +0 -6
  460. data/spec/scenarios/xml_comment/surrounded-by-spaces.adoc +0 -3
  461. data/spec/scenarios/xml_comment/surrounded-by-spaces.md +0 -1
  462. data/spec/spec_helper.rb +0 -41
@@ -1,19 +0,0 @@
1
- * list item
2
-
3
- attached paragraph
4
-
5
- * nested list item
6
-
7
- deep paragraph
8
- * another list item
9
-
10
- > attached blockquote
11
-
12
- * nested list item
13
- * yet another list item
14
-
15
- ```
16
- code block
17
- ```
18
-
19
- * nested list item
@@ -1,5 +0,0 @@
1
- * {blank}
2
- +
3
- ----
4
- puts "Hello, World!"
5
- ----
@@ -1,3 +0,0 @@
1
- * ```
2
- puts "Hello, World!"
3
- ```
@@ -1,41 +0,0 @@
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 command:
19
-
20
- $ git init project
21
-
22
- * Create boilerplate files
23
- +
24
- |===
25
- | Filename | Purpose
26
-
27
- | README.adoc
28
- | Introduces the project
29
-
30
- | .gitignore
31
- | Ignores non-versioned files
32
- |===
33
-
34
- * Create source files
35
- +
36
- We can't help you here.
37
- This part you'll have to do on your own.
38
- +
39
- ____
40
- Best of luck!
41
- ____
@@ -1,32 +0,0 @@
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 command:
17
-
18
- $ git init project
19
-
20
- * Create boilerplate files
21
-
22
- | Filename | Purpose |
23
- | ----------- | --------------------------- |
24
- | README.adoc | Introduces the project |
25
- | .gitignore | Ignores non-versioned files |
26
-
27
- * Create source files
28
-
29
- We can't help you here.
30
- This part you'll have to do on your own.
31
-
32
- > Best of luck!
@@ -1,41 +0,0 @@
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 command:
19
-
20
- $ git init project
21
-
22
- * Create boilerplate files
23
- +
24
- |===
25
- | Filename | Purpose
26
-
27
- | README.adoc
28
- | Introduces the project
29
-
30
- | .gitignore
31
- | Ignores non-versioned files
32
- |===
33
-
34
- * Create source files
35
- +
36
- We can't help you here.
37
- This part you'll have to do on your own.
38
- +
39
- ____
40
- Best of luck!
41
- ____
@@ -1,26 +0,0 @@
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 command:
13
-
14
- $ git init project
15
- * Create boilerplate files
16
-
17
- | Filename | Purpose |
18
- | ----------- | --------------------------- |
19
- | README.adoc | Introduces the project |
20
- | .gitignore | Ignores non-versioned files |
21
- * Create source files
22
-
23
- We can't help you here.
24
- This part you'll have to do on your own.
25
-
26
- > Best of luck!
@@ -1,3 +0,0 @@
1
- * *bold*
2
- * _italic_
3
- * `monospaced`
@@ -1,3 +0,0 @@
1
- - **bold**
2
- - *italic*
3
- - `monospaced`
@@ -1,9 +0,0 @@
1
- * Follow these rules:
2
- +
3
- ____
4
- * Work hard
5
- * Play hard
6
- * Drink beer
7
- ____
8
-
9
- * Profit!
@@ -1,7 +0,0 @@
1
- * Follow these rules:
2
-
3
- > * Work hard
4
- > * Play hard
5
- > * Drink beer
6
-
7
- * Profit!
@@ -1,7 +0,0 @@
1
- * One simple rule:
2
- ** A = always
3
- ** B = be
4
- ** C = charging
5
-
6
- +
7
- Follow it faithfully.
@@ -1,7 +0,0 @@
1
- * One simple rule:
2
-
3
- * A = always
4
- * B = be
5
- * C = charging
6
-
7
- Follow it faithfully.
@@ -1,11 +0,0 @@
1
- * bread
2
- ** french country
3
- ** sourdough
4
- ** multigrain
5
- * milk
6
- ** 2%
7
- ** whole
8
- ** skim
9
- * eggs
10
- ** brown
11
- ** white
@@ -1,21 +0,0 @@
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
@@ -1,11 +0,0 @@
1
- * bread
2
- ** french country
3
- ** sourdough
4
- ** multigrain
5
- * milk
6
- ** 2%
7
- ** whole
8
- ** skim
9
- * eggs
10
- ** brown
11
- ** white
@@ -1,11 +0,0 @@
1
- - bread
2
- - french country
3
- - sourdough
4
- - multigrain
5
- - milk
6
- - 2%
7
- - whole
8
- - skim
9
- - eggs
10
- - brown
11
- - white
@@ -1,3 +0,0 @@
1
- * bread
2
- * milk
3
- * eggs
@@ -1,5 +0,0 @@
1
- - bread
2
-
3
- - milk
4
-
5
- - eggs
@@ -1,3 +0,0 @@
1
- * bread
2
- * milk
3
- * eggs
@@ -1,3 +0,0 @@
1
- - bread
2
- - milk
3
- - eggs
@@ -1,3 +0,0 @@
1
- This is
2
- // only
3
- a test.
@@ -1,3 +0,0 @@
1
- This
2
- is<!-- only -->a
3
- test.
@@ -1 +0,0 @@
1
- :wrap: :none
@@ -1 +0,0 @@
1
- This is a test. This is only a test.
@@ -1,4 +0,0 @@
1
- This
2
- is
3
- a
4
- test. This is only a test.
@@ -1 +0,0 @@
1
- :wrap: :none
@@ -1,5 +0,0 @@
1
- This
2
- is
3
- a test. This
4
- is only a
5
- test.
@@ -1,5 +0,0 @@
1
- This
2
- is
3
- a test. This
4
- is only a
5
- test.
@@ -1 +0,0 @@
1
- :wrap: :preserve
@@ -1,3 +0,0 @@
1
- A horse!
2
- A horse!
3
- My kingdom for a horse!
@@ -1 +0,0 @@
1
- A horse! A horse! My kingdom for a horse!
@@ -1 +0,0 @@
1
- :wrap: :ventilate
@@ -1,3 +0,0 @@
1
- Salut mon ami !
2
- As-tu passé un bon weekend ?
3
- J'espère.
@@ -1 +0,0 @@
1
- Salut mon ami ! As-tu passé un bon weekend ? J'espère.
@@ -1 +0,0 @@
1
- :wrap: :ventilate
@@ -1,3 +0,0 @@
1
- Will you ventilate me?
2
- My lines have been broken by the tyranny of the text editor.
3
- I long to be set free from these hard wraps.
@@ -1,3 +0,0 @@
1
- Will you ventilate me? My lines have been
2
- broken by the tyranny of the text editor. I
3
- long to be set free from these hard wraps.
@@ -1 +0,0 @@
1
- :wrap: :ventilate
@@ -1,9 +0,0 @@
1
- [cols=2*]
2
- |===
3
- | Turn left.
4
- Then turn right.
5
- | left \| right
6
-
7
- | Operator
8
- | . (period)
9
- |===
@@ -1,3 +0,0 @@
1
- | --------------------------- | ------------- |
2
- | Turn left. Then turn right. | left \| right |
3
- | Operator | . (period) |
@@ -1 +0,0 @@
1
- :wrap: :ventilate
@@ -1,5 +0,0 @@
1
- I am text that has succumbed to the
2
- // note to self
3
- hard wrapping of a text editor and therefore hard to edit.
4
- Ventilate me to set me free from this tyranny.
5
- // end of thought
@@ -1,5 +0,0 @@
1
- I am text that has succumbed to the
2
- <!-- note to self -->hard wrapping of a text editor and
3
- therefore hard to edit. Ventilate me
4
- to set me free from this tyranny.
5
- <!-- end of thought -->
@@ -1 +0,0 @@
1
- :wrap: :ventilate
@@ -1,2 +0,0 @@
1
- This is a test.
2
- This is only a test.
@@ -1,6 +0,0 @@
1
- This
2
- is
3
- a
4
- test. This
5
- is
6
- only a test.