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,3 +0,0 @@
1
- :lazy_ids: true
2
- :attributes:
3
- idprefix: ''
@@ -1,9 +0,0 @@
1
- = Document Title
2
- :idseparator:
3
-
4
- == First Section
5
-
6
- == The Amazing _
7
-
8
- [#_install]
9
- == Installation
@@ -1,7 +0,0 @@
1
- # <a id="_documenttitle">Document Title</a>
2
-
3
- ## <a id="_firstsection">First Section</a>
4
-
5
- ## <a id="_theamazing_">The Amazing _</a>
6
-
7
- ## <a id="_install">Installation</a>
@@ -1,3 +0,0 @@
1
- :lazy_ids: true
2
- :attributes:
3
- idseparator: ''
@@ -1,7 +0,0 @@
1
- = Document Title
2
- :idseparator: 0
3
-
4
- == First Section
5
-
6
- [#_install]
7
- == Installation
@@ -1,5 +0,0 @@
1
- # <a id="_document0title">Document Title</a>
2
-
3
- ## <a id="_first0section">First Section</a>
4
-
5
- ## <a id="_install">Installation</a>
@@ -1,3 +0,0 @@
1
- :lazy_ids: true
2
- :attributes:
3
- idseparator: '0'
@@ -1,15 +0,0 @@
1
- = Document Title
2
-
3
- == Section
4
-
5
- == Section
6
-
7
- == The Amazing _
8
-
9
- [#_install]
10
- == Installation
11
-
12
- [#misc]
13
- == Miscellaneous
14
-
15
- == Conclusion
@@ -1,13 +0,0 @@
1
- # <a id="_document_title">Document Title</a>
2
-
3
- ## <a id="_section">Section</a>
4
-
5
- ## <a id="_section_2">Section</a>
6
-
7
- ## <a id="_the_amazing">The Amazing _</a>
8
-
9
- ## <a id="_install">Installation</a>
10
-
11
- <h2 id="misc">Miscellaneous</h2>
12
-
13
- <h2 id="_conclusion">Conclusion</h2>
@@ -1 +0,0 @@
1
- :lazy_ids: true
@@ -1,2 +0,0 @@
1
- [#env]
2
- == Environment
@@ -1 +0,0 @@
1
- ## <a id="env"></a>Environment
@@ -1,8 +0,0 @@
1
- = Document Title
2
-
3
- Paragraph
4
-
5
- [discrete]
6
- ===== Discrete Heading
7
-
8
- Paragraph
@@ -1,7 +0,0 @@
1
- # Document Title
2
-
3
- Paragraph
4
-
5
- ##### Discrete Heading
6
-
7
- Paragraph
@@ -1,5 +0,0 @@
1
- = Document Title
2
-
3
- == First Section
4
-
5
- And so it begins...
@@ -1,5 +0,0 @@
1
- ## Document Title
2
-
3
- ### First Section
4
-
5
- And so it begins...
@@ -1 +0,0 @@
1
- :heading_offset: -1
@@ -1,23 +0,0 @@
1
- = User Guide
2
-
3
- [discrete]
4
- === DISCLAIMER
5
-
6
- This is not a section.
7
-
8
- [discrete]
9
- === Before we get started
10
-
11
- Also not a section.
12
-
13
- == Let's get going
14
-
15
- Now we're talking.
16
-
17
- === Installation
18
-
19
- Do this stuff.
20
-
21
- == Next steps
22
-
23
- Now we're getting to the good stuff.
@@ -1,21 +0,0 @@
1
- # User Guide
2
-
3
- ### DISCLAIMER
4
-
5
- This is not a section.
6
-
7
- ### Before we get started
8
-
9
- Also not a section.
10
-
11
- ## Let's get going
12
-
13
- Now we're talking.
14
-
15
- ### Installation
16
-
17
- Do this stuff.
18
-
19
- ## Next steps
20
-
21
- Now we're getting to the good stuff.
@@ -1,13 +0,0 @@
1
- = Heading 1
2
-
3
- == Heading 2
4
-
5
- === Heading 3
6
-
7
- ==== Heading 4
8
-
9
- ===== Heading 5
10
-
11
- ====== Heading 6
12
-
13
- == Back to Heading 2
@@ -1,13 +0,0 @@
1
- # Heading 1
2
-
3
- ## Heading 2
4
-
5
- ### Heading 3
6
-
7
- #### Heading 4
8
-
9
- ##### Heading 5
10
-
11
- ###### Heading 6
12
-
13
- ## Back to Heading 2 ##
@@ -1,2 +0,0 @@
1
- [#env]
2
- == Environment
@@ -1 +0,0 @@
1
- ## <a id="env">Environment</a>
@@ -1,5 +0,0 @@
1
- '''
2
-
3
- Disclaimer: Many of these examples are fictional re-creations of real content.
4
-
5
- '''
@@ -1,5 +0,0 @@
1
- ---
2
-
3
- Disclaimer: Many of these examples are fictional re-creations of real content.
4
-
5
- ---
@@ -1,5 +0,0 @@
1
- before
2
-
3
- '''
4
-
5
- after
@@ -1,5 +0,0 @@
1
- before
2
-
3
- ---
4
-
5
- after
@@ -1 +0,0 @@
1
- '''
@@ -1 +0,0 @@
1
- ---
@@ -1 +0,0 @@
1
- Markdown supports inline +++<abbr title="Hypertext Markup Language">+++HTML+++</abbr>+++ anywhere except inside code blocks.
@@ -1 +0,0 @@
1
- Markdown supports inline <abbr title="Hypertext Markup Language">HTML</abbr> anywhere except inside code blocks.
@@ -1,5 +0,0 @@
1
- Main instructions.
2
-
3
- IMPORTANT: For the configuration changes to take effect, the server must be restarted using the link:restart-api.html[Restart API].
4
-
5
- Now back to our regularly scheduled program.
@@ -1,7 +0,0 @@
1
- Main instructions.
2
-
3
- <div class="note note"><span class="notetitle">Attention:</span> For the configuration changes to take effect,
4
- the server must be restarted using the <a href="restart-api.html">Restart API</a>.
5
- </div>
6
-
7
- Now back to our regularly scheduled program.
@@ -1 +0,0 @@
1
- Being able to write in AsciiDoc instead of Markdown, *priceless*.
@@ -1,4 +0,0 @@
1
- <div>
2
- Being able to write in AsciiDoc instead of Markdown,
3
- <b>priceless</b>.
4
- </div>
@@ -1 +0,0 @@
1
- Just a lonely div.
@@ -1 +0,0 @@
1
- <div>Just a lonely div.</div>
@@ -1,5 +0,0 @@
1
- before
2
-
3
- {blank}
4
-
5
- after
@@ -1,5 +0,0 @@
1
- before
2
-
3
- <p></p>
4
-
5
- after
@@ -1,7 +0,0 @@
1
- == Languages
2
-
3
- [.facet]
4
- === Ruby
5
-
6
- [.facet]
7
- === Java
@@ -1,5 +0,0 @@
1
- ## Languages
2
-
3
- <h3 class="facet">Ruby</h3>
4
-
5
- <h3 class="facet">Java</h3>
@@ -1,2 +0,0 @@
1
- [#misc]
2
- == Miscellaneous
@@ -1 +0,0 @@
1
- <h2 id="misc">Miscellaneous</h2>
@@ -1,2 +0,0 @@
1
- [id=brand.goes.here]
2
- image::logo.png[Project Name]
@@ -1 +0,0 @@
1
- <img id="brand.goes.here" src="logo.png" alt="Project Name">
@@ -1 +0,0 @@
1
- image::logo.png[Project,480]
@@ -1 +0,0 @@
1
- <img src="logo.png" alt="Project" width="480">
@@ -1 +0,0 @@
1
- image::logo.png[,25%]
@@ -1 +0,0 @@
1
- <img src="logo.png" style="width:25%">
@@ -1 +0,0 @@
1
- image::logo.png[,25%]
@@ -1 +0,0 @@
1
- <img src="logo.png" width="25%">
@@ -1 +0,0 @@
1
- image::logo.png[,480]
@@ -1 +0,0 @@
1
- <img src="logo.png" style="float: right; width: 480px">
@@ -1 +0,0 @@
1
- image::logo.png[,480]
@@ -1 +0,0 @@
1
- <img src="logo.png" width="480">
@@ -1,2 +0,0 @@
1
- [#img-add-new-user.image]
2
- image::add-new-user.png[Add New User]
@@ -1 +0,0 @@
1
- <div><img id="img-add-new-user" class="image" src="add-new-user.png" alt="Add New User"/></div>
@@ -1 +0,0 @@
1
- If you want to draw attention to text, #highlight# it.
@@ -1 +0,0 @@
1
- If you want to draw attention to text, <mark>highlight</mark> it.
@@ -1 +0,0 @@
1
- *strong emphasis (aka bold)* _emphasis (aka italic)_ `monospace`
@@ -1 +0,0 @@
1
- <p><strong>strong emphasis (aka bold)</strong> <em>emphasis (aka italic)</em> <code>monospace</code></p>
@@ -1,6 +0,0 @@
1
- [source,ruby]
2
- ----
3
- def meaning_of_life?
4
- 42
5
- end
6
- ----
@@ -1,4 +0,0 @@
1
- <pre><code class="language-ruby">def meaning_of_life?
2
- 42
3
- end
4
- </code></pre>
@@ -1,3 +0,0 @@
1
- vanilla phrase
2
-
3
- [.term]#term#
@@ -1,3 +0,0 @@
1
- <span>vanilla phrase</span>
2
-
3
- <span class="term">term</span>
@@ -1 +0,0 @@
1
- [.line-through]#dice#
@@ -1 +0,0 @@
1
- ~~dice~~
@@ -1 +0,0 @@
1
- log~e~
@@ -1 +0,0 @@
1
- log<sub>e</sub>
@@ -1 +0,0 @@
1
- 2^n^
@@ -1 +0,0 @@
1
- 2<sup>n</sup>
@@ -1,5 +0,0 @@
1
- Text you should read.
2
-
3
- NOTE: Text you might read.
4
-
5
- More text you should read.