kramdown-asciidoc 1.0.0.alpha.1

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/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,7 @@
1
+ - foo
2
+ - bar
3
+
4
+ <!-- -->
5
+
6
+ - yin
7
+ - yang
@@ -0,0 +1,7 @@
1
+ here a text
2
+ // aside
3
+
4
+ // not a text
5
+
6
+ there a text
7
+ // EOM
@@ -0,0 +1,6 @@
1
+ here a text <!-- aside -->
2
+
3
+ <!-- not a text -->
4
+
5
+ there a text
6
+ <!-- EOM -->
@@ -0,0 +1,4 @@
1
+ some text
2
+ // a comment that goes on
3
+ // and on
4
+ // and on
@@ -0,0 +1,3 @@
1
+ some text <!-- a comment that goes on
2
+ and on
3
+ and on -->
@@ -0,0 +1,6 @@
1
+ ////
2
+ Licensed to the ACME Software Foundation under one
3
+ or more roadrunner license agreements.
4
+
5
+ Use at your own risk.
6
+ ////
@@ -0,0 +1,6 @@
1
+ <!--
2
+ ! Licensed to the ACME Software Foundation under one
3
+ ! or more roadrunner license agreements.
4
+ !
5
+ ! Use at your own risk.
6
+ !-->
@@ -0,0 +1,27 @@
1
+ require_relative 'spec_helper'
2
+ require 'yaml'
3
+
4
+ describe 'integration scenario' do
5
+ FIXTURES_DIR = File.absolute_path 'fixtures', __dir__
6
+
7
+ let(:doc) { Kramdown::Document.new input, (Kramdown::AsciiDoc::DEFAULT_PARSER_OPTS.merge extra_options) }
8
+
9
+ Dir.chdir FIXTURES_DIR do
10
+ (Dir.glob '**/*.md').each do |input_filename|
11
+ input_stem = input_filename.slice 0, input_filename.length - 3
12
+ scenario_name = input_stem.gsub '/', '::'
13
+ options_filename = %(#{input_stem}.opts)
14
+ options = (File.exist? options_filename) ? (YAML.load_file options_filename) : {}
15
+ input_filename = File.absolute_path input_filename
16
+ output_filename = File.absolute_path %(#{input_stem}.adoc)
17
+ context %(for #{scenario_name}) do
18
+ let(:input) { ::IO.read input_filename, open_args: ['rb:UTF-8'] }
19
+ let(:extra_options) { options }
20
+ let(:expected) { ::IO.read output_filename, open_args: ['rb:UTF-8'] }
21
+ it 'converts Markdown to AsciiDoc' do
22
+ (expect doc.to_asciidoc).to eql expected
23
+ end
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,9 @@
1
+ if ENV['COVERAGE'] == 'true'
2
+ require 'simplecov'
3
+ SimpleCov.start do
4
+ add_filter %w(/.bundle/ /spec/)
5
+ coverage_dir 'build/coverage-report'
6
+ end
7
+ end
8
+
9
+ require 'kramdown-asciidoc'
metadata ADDED
@@ -0,0 +1,533 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: kramdown-asciidoc
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0.alpha.1
5
+ platform: ruby
6
+ authors:
7
+ - Dan Allen
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-05-22 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: kramdown
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 1.16.2
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 1.16.2
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 12.3.1
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 12.3.1
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 3.7.0
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 3.7.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: simplecov
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.16.1
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.16.1
69
+ description: A Kramdown extension for converting Markdown documents to AsciiDoc.
70
+ email:
71
+ - dan.j.allen@gmail.com
72
+ executables:
73
+ - kramdoc
74
+ extensions: []
75
+ extra_rdoc_files: []
76
+ files:
77
+ - CHANGELOG.adoc
78
+ - Gemfile
79
+ - LICENSE.adoc
80
+ - README.adoc
81
+ - Rakefile
82
+ - bin/kramdoc
83
+ - kramdown-asciidoc.gemspec
84
+ - lib/kramdown-asciidoc.rb
85
+ - lib/kramdown-asciidoc/converter.rb
86
+ - lib/kramdown-asciidoc/version.rb
87
+ - spec/converter_spec.rb
88
+ - spec/fixtures/a/bare-url.adoc
89
+ - spec/fixtures/a/bare-url.md
90
+ - spec/fixtures/a/interdoc-xref.adoc
91
+ - spec/fixtures/a/interdoc-xref.md
92
+ - spec/fixtures/a/internal.adoc
93
+ - spec/fixtures/a/internal.md
94
+ - spec/fixtures/a/local.adoc
95
+ - spec/fixtures/a/local.md
96
+ - spec/fixtures/a/url-matches-text.adoc
97
+ - spec/fixtures/a/url-matches-text.md
98
+ - spec/fixtures/a/url-with-text.adoc
99
+ - spec/fixtures/a/url-with-text.md
100
+ - spec/fixtures/blockquote/basic.adoc
101
+ - spec/fixtures/blockquote/basic.md
102
+ - spec/fixtures/blockquote/list.adoc
103
+ - spec/fixtures/blockquote/list.md
104
+ - spec/fixtures/blockquote/multiple-lines.adoc
105
+ - spec/fixtures/blockquote/multiple-lines.md
106
+ - spec/fixtures/blockquote/nested.adoc
107
+ - spec/fixtures/blockquote/nested.md
108
+ - spec/fixtures/blockquote/with-attribution.adoc
109
+ - spec/fixtures/blockquote/with-attribution.md
110
+ - spec/fixtures/br/tag-followed-by-newline.adoc
111
+ - spec/fixtures/br/tag-followed-by-newline.md
112
+ - spec/fixtures/br/tag-preceded-by-space.adoc
113
+ - spec/fixtures/br/tag-preceded-by-space.md
114
+ - spec/fixtures/br/tag.adoc
115
+ - spec/fixtures/br/tag.md
116
+ - spec/fixtures/br/trailing-double-space.adoc
117
+ - spec/fixtures/br/trailing-double-space.md
118
+ - spec/fixtures/codeblock/contiguous-lines.adoc
119
+ - spec/fixtures/codeblock/contiguous-lines.md
120
+ - spec/fixtures/codeblock/fenced/bash-to-console.adoc
121
+ - spec/fixtures/codeblock/fenced/bash-to-console.md
122
+ - spec/fixtures/codeblock/fenced/with-command-prompt.adoc
123
+ - spec/fixtures/codeblock/fenced/with-command-prompt.md
124
+ - spec/fixtures/codeblock/fenced/with-language.adoc
125
+ - spec/fixtures/codeblock/fenced/with-language.md
126
+ - spec/fixtures/codeblock/fenced/with-non-contiguous-command-prompts.adoc
127
+ - spec/fixtures/codeblock/fenced/with-non-contiguous-command-prompts.md
128
+ - spec/fixtures/codeblock/fenced/without-language.adoc
129
+ - spec/fixtures/codeblock/fenced/without-language.md
130
+ - spec/fixtures/codeblock/non-contiguous-lines.adoc
131
+ - spec/fixtures/codeblock/non-contiguous-lines.md
132
+ - spec/fixtures/codeblock/with-command-prompt.adoc
133
+ - spec/fixtures/codeblock/with-command-prompt.md
134
+ - spec/fixtures/codeblock/with-non-contiguous-command-prompts.adoc
135
+ - spec/fixtures/codeblock/with-non-contiguous-command-prompts.md
136
+ - spec/fixtures/codespan/constrained.adoc
137
+ - spec/fixtures/codespan/constrained.md
138
+ - spec/fixtures/codespan/literal.adoc
139
+ - spec/fixtures/codespan/literal.md
140
+ - spec/fixtures/em/asterisks.adoc
141
+ - spec/fixtures/em/asterisks.md
142
+ - spec/fixtures/em/constrained.adoc
143
+ - spec/fixtures/em/constrained.md
144
+ - spec/fixtures/entity/numeric.adoc
145
+ - spec/fixtures/entity/numeric.md
146
+ - spec/fixtures/entity/reverse.adoc
147
+ - spec/fixtures/entity/reverse.md
148
+ - spec/fixtures/heading/out-of-sequence.adoc
149
+ - spec/fixtures/heading/out-of-sequence.md
150
+ - spec/fixtures/heading/outline.adoc
151
+ - spec/fixtures/heading/outline.md
152
+ - spec/fixtures/heading/with-anchor.adoc
153
+ - spec/fixtures/heading/with-anchor.md
154
+ - spec/fixtures/heading/with-formatting.adoc
155
+ - spec/fixtures/heading/with-formatting.md
156
+ - spec/fixtures/hr/between-blocks.adoc
157
+ - spec/fixtures/hr/between-blocks.md
158
+ - spec/fixtures/hr/dashes.adoc
159
+ - spec/fixtures/hr/dashes.md
160
+ - spec/fixtures/html_element/abbr.adoc
161
+ - spec/fixtures/html_element/abbr.md
162
+ - spec/fixtures/html_element/heading-with-class.adoc
163
+ - spec/fixtures/html_element/heading-with-class.md
164
+ - spec/fixtures/html_element/heading-with-id.adoc
165
+ - spec/fixtures/html_element/heading-with-id.md
166
+ - spec/fixtures/html_element/native.adoc
167
+ - spec/fixtures/html_element/native.md
168
+ - spec/fixtures/html_element/sub.adoc
169
+ - spec/fixtures/html_element/sub.md
170
+ - spec/fixtures/html_element/sup.adoc
171
+ - spec/fixtures/html_element/sup.md
172
+ - spec/fixtures/img/block-with-alt.adoc
173
+ - spec/fixtures/img/block-with-alt.md
174
+ - spec/fixtures/img/block-with-link-and-alt.adoc
175
+ - spec/fixtures/img/block-with-link-and-alt.md
176
+ - spec/fixtures/img/block-with-link.adoc
177
+ - spec/fixtures/img/block-with-link.md
178
+ - spec/fixtures/img/block.adoc
179
+ - spec/fixtures/img/block.md
180
+ - spec/fixtures/img/imagesdir.adoc
181
+ - spec/fixtures/img/imagesdir.md
182
+ - spec/fixtures/img/imagesdir.opts
183
+ - spec/fixtures/img/implicit-imagesdir.adoc
184
+ - spec/fixtures/img/implicit-imagesdir.md
185
+ - spec/fixtures/img/implicit-imagesdir.opts
186
+ - spec/fixtures/img/inline-with-alt.adoc
187
+ - spec/fixtures/img/inline-with-alt.md
188
+ - spec/fixtures/img/inline-with-link-and-alt.adoc
189
+ - spec/fixtures/img/inline-with-link-and-alt.md
190
+ - spec/fixtures/img/inline-with-link.adoc
191
+ - spec/fixtures/img/inline-with-link.md
192
+ - spec/fixtures/img/inline.adoc
193
+ - spec/fixtures/img/inline.md
194
+ - spec/fixtures/ol/compound-separated.adoc
195
+ - spec/fixtures/ol/compound-separated.md
196
+ - spec/fixtures/ol/compound.adoc
197
+ - spec/fixtures/ol/compound.md
198
+ - spec/fixtures/ol/mixed-separated.adoc
199
+ - spec/fixtures/ol/mixed-separated.md
200
+ - spec/fixtures/ol/mixed.adoc
201
+ - spec/fixtures/ol/mixed.md
202
+ - spec/fixtures/ol/nested-separated.adoc
203
+ - spec/fixtures/ol/nested-separated.md
204
+ - spec/fixtures/ol/nested.adoc
205
+ - spec/fixtures/ol/nested.md
206
+ - spec/fixtures/ol/simple-separated.adoc
207
+ - spec/fixtures/ol/simple-separated.md
208
+ - spec/fixtures/ol/simple.adoc
209
+ - spec/fixtures/ol/simple.md
210
+ - spec/fixtures/p/admonition/emphasis.adoc
211
+ - spec/fixtures/p/admonition/emphasis.md
212
+ - spec/fixtures/p/admonition/in-list-item.adoc
213
+ - spec/fixtures/p/admonition/in-list-item.md
214
+ - spec/fixtures/p/admonition/plain.adoc
215
+ - spec/fixtures/p/admonition/plain.md
216
+ - spec/fixtures/p/admonition/strong-emphasis.adoc
217
+ - spec/fixtures/p/admonition/strong-emphasis.md
218
+ - spec/fixtures/p/multiple-lines.adoc
219
+ - spec/fixtures/p/multiple-lines.md
220
+ - spec/fixtures/p/multiple.adoc
221
+ - spec/fixtures/p/multiple.md
222
+ - spec/fixtures/p/single-line.adoc
223
+ - spec/fixtures/p/single-line.md
224
+ - spec/fixtures/root/body-only.adoc
225
+ - spec/fixtures/root/body-only.md
226
+ - spec/fixtures/root/book-doctype.adoc
227
+ - spec/fixtures/root/book-doctype.md
228
+ - spec/fixtures/root/header-and-body.adoc
229
+ - spec/fixtures/root/header-and-body.md
230
+ - spec/fixtures/root/header-only.adoc
231
+ - spec/fixtures/root/header-only.md
232
+ - spec/fixtures/smart_quote/apostrophe.adoc
233
+ - spec/fixtures/smart_quote/apostrophe.md
234
+ - spec/fixtures/smart_quote/double-quotes.adoc
235
+ - spec/fixtures/smart_quote/double-quotes.md
236
+ - spec/fixtures/smart_quote/single-quotes.adoc
237
+ - spec/fixtures/smart_quote/single-quotes.md
238
+ - spec/fixtures/strong/constrained.adoc
239
+ - spec/fixtures/strong/constrained.md
240
+ - spec/fixtures/strong/nested-emphasis.adoc
241
+ - spec/fixtures/strong/nested-emphasis.md
242
+ - spec/fixtures/table/with-header.adoc
243
+ - spec/fixtures/table/with-header.md
244
+ - spec/fixtures/table/without-header.adoc
245
+ - spec/fixtures/table/without-header.md
246
+ - spec/fixtures/text/lte.adoc
247
+ - spec/fixtures/text/lte.md
248
+ - spec/fixtures/text/plus-plus.adoc
249
+ - spec/fixtures/text/plus-plus.md
250
+ - spec/fixtures/text/typographic_sym/apostrophe.adoc
251
+ - spec/fixtures/text/typographic_sym/apostrophe.md
252
+ - spec/fixtures/text/typographic_sym/double-quotes.adoc
253
+ - spec/fixtures/text/typographic_sym/double-quotes.md
254
+ - spec/fixtures/text/typographic_sym/ellipsis.adoc
255
+ - spec/fixtures/text/typographic_sym/ellipsis.md
256
+ - spec/fixtures/text/typographic_sym/mdash.adoc
257
+ - spec/fixtures/text/typographic_sym/mdash.md
258
+ - spec/fixtures/text/typographic_sym/ndash.adoc
259
+ - spec/fixtures/text/typographic_sym/ndash.md
260
+ - spec/fixtures/text/typographic_sym/single-quotes.adoc
261
+ - spec/fixtures/text/typographic_sym/single-quotes.md
262
+ - spec/fixtures/typographic_sym/ellipsis.adoc
263
+ - spec/fixtures/typographic_sym/ellipsis.md
264
+ - spec/fixtures/typographic_sym/mdash.adoc
265
+ - spec/fixtures/typographic_sym/mdash.md
266
+ - spec/fixtures/typographic_sym/ndash.adoc
267
+ - spec/fixtures/typographic_sym/ndash.md
268
+ - spec/fixtures/ul/compound-separated.adoc
269
+ - spec/fixtures/ul/compound-separated.md
270
+ - spec/fixtures/ul/compound.adoc
271
+ - spec/fixtures/ul/compound.md
272
+ - spec/fixtures/ul/nested-separated.adoc
273
+ - spec/fixtures/ul/nested-separated.md
274
+ - spec/fixtures/ul/nested.adoc
275
+ - spec/fixtures/ul/nested.md
276
+ - spec/fixtures/ul/simple-separated.adoc
277
+ - spec/fixtures/ul/simple-separated.md
278
+ - spec/fixtures/ul/simple.adoc
279
+ - spec/fixtures/ul/simple.md
280
+ - spec/fixtures/xml_comment/block.adoc
281
+ - spec/fixtures/xml_comment/block.md
282
+ - spec/fixtures/xml_comment/line-offset-by-space.adoc
283
+ - spec/fixtures/xml_comment/line-offset-by-space.md
284
+ - spec/fixtures/xml_comment/line.adoc
285
+ - spec/fixtures/xml_comment/line.md
286
+ - spec/fixtures/xml_comment/list-separator.adoc
287
+ - spec/fixtures/xml_comment/list-separator.md
288
+ - spec/fixtures/xml_comment/mixed.adoc
289
+ - spec/fixtures/xml_comment/mixed.md
290
+ - spec/fixtures/xml_comment/multiline-span.adoc
291
+ - spec/fixtures/xml_comment/multiline-span.md
292
+ - spec/fixtures/xml_comment/styled.adoc
293
+ - spec/fixtures/xml_comment/styled.md
294
+ - spec/integration_spec.rb
295
+ - spec/spec_helper.rb
296
+ homepage: https://github.com/asciidoctor/kramdown-asciidoc
297
+ licenses:
298
+ - MIT
299
+ metadata:
300
+ bug_tracker_uri: https://github.com/asciidoctor/kramdown-asciidoc/issues
301
+ changelog_uri: https://github.com/asciidoctor/kramdown-asciidoc/blob/master/CHANGELOG.adoc
302
+ mailing_list_uri: http://discuss.asciidoctor.org
303
+ source_code_uri: https://github.com/asciidoctor/kramdown-asciidoc
304
+ post_install_message:
305
+ rdoc_options: []
306
+ require_paths:
307
+ - lib
308
+ required_ruby_version: !ruby/object:Gem::Requirement
309
+ requirements:
310
+ - - ">="
311
+ - !ruby/object:Gem::Version
312
+ version: '0'
313
+ required_rubygems_version: !ruby/object:Gem::Requirement
314
+ requirements:
315
+ - - ">"
316
+ - !ruby/object:Gem::Version
317
+ version: 1.3.1
318
+ requirements: []
319
+ rubyforge_project:
320
+ rubygems_version: 2.7.7
321
+ signing_key:
322
+ specification_version: 4
323
+ summary: A Markdown to AsciiDoc converter based on Kramdown
324
+ test_files:
325
+ - spec/converter_spec.rb
326
+ - spec/fixtures/a/bare-url.adoc
327
+ - spec/fixtures/a/bare-url.md
328
+ - spec/fixtures/a/interdoc-xref.adoc
329
+ - spec/fixtures/a/interdoc-xref.md
330
+ - spec/fixtures/a/internal.adoc
331
+ - spec/fixtures/a/internal.md
332
+ - spec/fixtures/a/local.adoc
333
+ - spec/fixtures/a/local.md
334
+ - spec/fixtures/a/url-matches-text.adoc
335
+ - spec/fixtures/a/url-matches-text.md
336
+ - spec/fixtures/a/url-with-text.adoc
337
+ - spec/fixtures/a/url-with-text.md
338
+ - spec/fixtures/blockquote/basic.adoc
339
+ - spec/fixtures/blockquote/basic.md
340
+ - spec/fixtures/blockquote/list.adoc
341
+ - spec/fixtures/blockquote/list.md
342
+ - spec/fixtures/blockquote/multiple-lines.adoc
343
+ - spec/fixtures/blockquote/multiple-lines.md
344
+ - spec/fixtures/blockquote/nested.adoc
345
+ - spec/fixtures/blockquote/nested.md
346
+ - spec/fixtures/blockquote/with-attribution.adoc
347
+ - spec/fixtures/blockquote/with-attribution.md
348
+ - spec/fixtures/br/tag-followed-by-newline.adoc
349
+ - spec/fixtures/br/tag-followed-by-newline.md
350
+ - spec/fixtures/br/tag-preceded-by-space.adoc
351
+ - spec/fixtures/br/tag-preceded-by-space.md
352
+ - spec/fixtures/br/tag.adoc
353
+ - spec/fixtures/br/tag.md
354
+ - spec/fixtures/br/trailing-double-space.adoc
355
+ - spec/fixtures/br/trailing-double-space.md
356
+ - spec/fixtures/codeblock/contiguous-lines.adoc
357
+ - spec/fixtures/codeblock/contiguous-lines.md
358
+ - spec/fixtures/codeblock/fenced/bash-to-console.adoc
359
+ - spec/fixtures/codeblock/fenced/bash-to-console.md
360
+ - spec/fixtures/codeblock/fenced/with-command-prompt.adoc
361
+ - spec/fixtures/codeblock/fenced/with-command-prompt.md
362
+ - spec/fixtures/codeblock/fenced/with-language.adoc
363
+ - spec/fixtures/codeblock/fenced/with-language.md
364
+ - spec/fixtures/codeblock/fenced/with-non-contiguous-command-prompts.adoc
365
+ - spec/fixtures/codeblock/fenced/with-non-contiguous-command-prompts.md
366
+ - spec/fixtures/codeblock/fenced/without-language.adoc
367
+ - spec/fixtures/codeblock/fenced/without-language.md
368
+ - spec/fixtures/codeblock/non-contiguous-lines.adoc
369
+ - spec/fixtures/codeblock/non-contiguous-lines.md
370
+ - spec/fixtures/codeblock/with-command-prompt.adoc
371
+ - spec/fixtures/codeblock/with-command-prompt.md
372
+ - spec/fixtures/codeblock/with-non-contiguous-command-prompts.adoc
373
+ - spec/fixtures/codeblock/with-non-contiguous-command-prompts.md
374
+ - spec/fixtures/codespan/constrained.adoc
375
+ - spec/fixtures/codespan/constrained.md
376
+ - spec/fixtures/codespan/literal.adoc
377
+ - spec/fixtures/codespan/literal.md
378
+ - spec/fixtures/em/asterisks.adoc
379
+ - spec/fixtures/em/asterisks.md
380
+ - spec/fixtures/em/constrained.adoc
381
+ - spec/fixtures/em/constrained.md
382
+ - spec/fixtures/entity/numeric.adoc
383
+ - spec/fixtures/entity/numeric.md
384
+ - spec/fixtures/entity/reverse.adoc
385
+ - spec/fixtures/entity/reverse.md
386
+ - spec/fixtures/heading/out-of-sequence.adoc
387
+ - spec/fixtures/heading/out-of-sequence.md
388
+ - spec/fixtures/heading/outline.adoc
389
+ - spec/fixtures/heading/outline.md
390
+ - spec/fixtures/heading/with-anchor.adoc
391
+ - spec/fixtures/heading/with-anchor.md
392
+ - spec/fixtures/heading/with-formatting.adoc
393
+ - spec/fixtures/heading/with-formatting.md
394
+ - spec/fixtures/hr/between-blocks.adoc
395
+ - spec/fixtures/hr/between-blocks.md
396
+ - spec/fixtures/hr/dashes.adoc
397
+ - spec/fixtures/hr/dashes.md
398
+ - spec/fixtures/html_element/abbr.adoc
399
+ - spec/fixtures/html_element/abbr.md
400
+ - spec/fixtures/html_element/heading-with-class.adoc
401
+ - spec/fixtures/html_element/heading-with-class.md
402
+ - spec/fixtures/html_element/heading-with-id.adoc
403
+ - spec/fixtures/html_element/heading-with-id.md
404
+ - spec/fixtures/html_element/native.adoc
405
+ - spec/fixtures/html_element/native.md
406
+ - spec/fixtures/html_element/sub.adoc
407
+ - spec/fixtures/html_element/sub.md
408
+ - spec/fixtures/html_element/sup.adoc
409
+ - spec/fixtures/html_element/sup.md
410
+ - spec/fixtures/img/block-with-alt.adoc
411
+ - spec/fixtures/img/block-with-alt.md
412
+ - spec/fixtures/img/block-with-link-and-alt.adoc
413
+ - spec/fixtures/img/block-with-link-and-alt.md
414
+ - spec/fixtures/img/block-with-link.adoc
415
+ - spec/fixtures/img/block-with-link.md
416
+ - spec/fixtures/img/block.adoc
417
+ - spec/fixtures/img/block.md
418
+ - spec/fixtures/img/imagesdir.adoc
419
+ - spec/fixtures/img/imagesdir.md
420
+ - spec/fixtures/img/imagesdir.opts
421
+ - spec/fixtures/img/implicit-imagesdir.adoc
422
+ - spec/fixtures/img/implicit-imagesdir.md
423
+ - spec/fixtures/img/implicit-imagesdir.opts
424
+ - spec/fixtures/img/inline-with-alt.adoc
425
+ - spec/fixtures/img/inline-with-alt.md
426
+ - spec/fixtures/img/inline-with-link-and-alt.adoc
427
+ - spec/fixtures/img/inline-with-link-and-alt.md
428
+ - spec/fixtures/img/inline-with-link.adoc
429
+ - spec/fixtures/img/inline-with-link.md
430
+ - spec/fixtures/img/inline.adoc
431
+ - spec/fixtures/img/inline.md
432
+ - spec/fixtures/ol/compound-separated.adoc
433
+ - spec/fixtures/ol/compound-separated.md
434
+ - spec/fixtures/ol/compound.adoc
435
+ - spec/fixtures/ol/compound.md
436
+ - spec/fixtures/ol/mixed-separated.adoc
437
+ - spec/fixtures/ol/mixed-separated.md
438
+ - spec/fixtures/ol/mixed.adoc
439
+ - spec/fixtures/ol/mixed.md
440
+ - spec/fixtures/ol/nested-separated.adoc
441
+ - spec/fixtures/ol/nested-separated.md
442
+ - spec/fixtures/ol/nested.adoc
443
+ - spec/fixtures/ol/nested.md
444
+ - spec/fixtures/ol/simple-separated.adoc
445
+ - spec/fixtures/ol/simple-separated.md
446
+ - spec/fixtures/ol/simple.adoc
447
+ - spec/fixtures/ol/simple.md
448
+ - spec/fixtures/p/admonition/emphasis.adoc
449
+ - spec/fixtures/p/admonition/emphasis.md
450
+ - spec/fixtures/p/admonition/in-list-item.adoc
451
+ - spec/fixtures/p/admonition/in-list-item.md
452
+ - spec/fixtures/p/admonition/plain.adoc
453
+ - spec/fixtures/p/admonition/plain.md
454
+ - spec/fixtures/p/admonition/strong-emphasis.adoc
455
+ - spec/fixtures/p/admonition/strong-emphasis.md
456
+ - spec/fixtures/p/multiple-lines.adoc
457
+ - spec/fixtures/p/multiple-lines.md
458
+ - spec/fixtures/p/multiple.adoc
459
+ - spec/fixtures/p/multiple.md
460
+ - spec/fixtures/p/single-line.adoc
461
+ - spec/fixtures/p/single-line.md
462
+ - spec/fixtures/root/body-only.adoc
463
+ - spec/fixtures/root/body-only.md
464
+ - spec/fixtures/root/book-doctype.adoc
465
+ - spec/fixtures/root/book-doctype.md
466
+ - spec/fixtures/root/header-and-body.adoc
467
+ - spec/fixtures/root/header-and-body.md
468
+ - spec/fixtures/root/header-only.adoc
469
+ - spec/fixtures/root/header-only.md
470
+ - spec/fixtures/smart_quote/apostrophe.adoc
471
+ - spec/fixtures/smart_quote/apostrophe.md
472
+ - spec/fixtures/smart_quote/double-quotes.adoc
473
+ - spec/fixtures/smart_quote/double-quotes.md
474
+ - spec/fixtures/smart_quote/single-quotes.adoc
475
+ - spec/fixtures/smart_quote/single-quotes.md
476
+ - spec/fixtures/strong/constrained.adoc
477
+ - spec/fixtures/strong/constrained.md
478
+ - spec/fixtures/strong/nested-emphasis.adoc
479
+ - spec/fixtures/strong/nested-emphasis.md
480
+ - spec/fixtures/table/with-header.adoc
481
+ - spec/fixtures/table/with-header.md
482
+ - spec/fixtures/table/without-header.adoc
483
+ - spec/fixtures/table/without-header.md
484
+ - spec/fixtures/text/lte.adoc
485
+ - spec/fixtures/text/lte.md
486
+ - spec/fixtures/text/plus-plus.adoc
487
+ - spec/fixtures/text/plus-plus.md
488
+ - spec/fixtures/text/typographic_sym/apostrophe.adoc
489
+ - spec/fixtures/text/typographic_sym/apostrophe.md
490
+ - spec/fixtures/text/typographic_sym/double-quotes.adoc
491
+ - spec/fixtures/text/typographic_sym/double-quotes.md
492
+ - spec/fixtures/text/typographic_sym/ellipsis.adoc
493
+ - spec/fixtures/text/typographic_sym/ellipsis.md
494
+ - spec/fixtures/text/typographic_sym/mdash.adoc
495
+ - spec/fixtures/text/typographic_sym/mdash.md
496
+ - spec/fixtures/text/typographic_sym/ndash.adoc
497
+ - spec/fixtures/text/typographic_sym/ndash.md
498
+ - spec/fixtures/text/typographic_sym/single-quotes.adoc
499
+ - spec/fixtures/text/typographic_sym/single-quotes.md
500
+ - spec/fixtures/typographic_sym/ellipsis.adoc
501
+ - spec/fixtures/typographic_sym/ellipsis.md
502
+ - spec/fixtures/typographic_sym/mdash.adoc
503
+ - spec/fixtures/typographic_sym/mdash.md
504
+ - spec/fixtures/typographic_sym/ndash.adoc
505
+ - spec/fixtures/typographic_sym/ndash.md
506
+ - spec/fixtures/ul/compound-separated.adoc
507
+ - spec/fixtures/ul/compound-separated.md
508
+ - spec/fixtures/ul/compound.adoc
509
+ - spec/fixtures/ul/compound.md
510
+ - spec/fixtures/ul/nested-separated.adoc
511
+ - spec/fixtures/ul/nested-separated.md
512
+ - spec/fixtures/ul/nested.adoc
513
+ - spec/fixtures/ul/nested.md
514
+ - spec/fixtures/ul/simple-separated.adoc
515
+ - spec/fixtures/ul/simple-separated.md
516
+ - spec/fixtures/ul/simple.adoc
517
+ - spec/fixtures/ul/simple.md
518
+ - spec/fixtures/xml_comment/block.adoc
519
+ - spec/fixtures/xml_comment/block.md
520
+ - spec/fixtures/xml_comment/line-offset-by-space.adoc
521
+ - spec/fixtures/xml_comment/line-offset-by-space.md
522
+ - spec/fixtures/xml_comment/line.adoc
523
+ - spec/fixtures/xml_comment/line.md
524
+ - spec/fixtures/xml_comment/list-separator.adoc
525
+ - spec/fixtures/xml_comment/list-separator.md
526
+ - spec/fixtures/xml_comment/mixed.adoc
527
+ - spec/fixtures/xml_comment/mixed.md
528
+ - spec/fixtures/xml_comment/multiline-span.adoc
529
+ - spec/fixtures/xml_comment/multiline-span.md
530
+ - spec/fixtures/xml_comment/styled.adoc
531
+ - spec/fixtures/xml_comment/styled.md
532
+ - spec/integration_spec.rb
533
+ - spec/spec_helper.rb