kramdown-asciidoc 1.0.0.alpha.10 → 1.0.0.alpha.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.adoc +19 -0
- data/README.adoc +4 -1
- data/lib/kramdown-asciidoc/api.rb +27 -0
- data/lib/kramdown-asciidoc/cli.rb +14 -22
- data/lib/kramdown-asciidoc/converter.rb +62 -33
- data/lib/kramdown-asciidoc/kramdown_ext/parser/html.rb +9 -0
- data/lib/kramdown-asciidoc/version.rb +1 -1
- data/lib/kramdown-asciidoc/writer.rb +3 -3
- data/lib/kramdown-asciidoc.rb +3 -9
- data/spec/api_spec.rb +63 -0
- data/spec/cli_spec.rb +1 -2
- data/spec/converter_spec.rb +5 -5
- data/spec/scenario_spec.rb +1 -1
- data/spec/scenarios/blockquote/attribution-separated.md +1 -0
- data/spec/scenarios/blockquote/{with-attribution.adoc → attribution.adoc} +0 -0
- data/spec/scenarios/blockquote/{with-attribution.md → attribution.md} +0 -0
- data/spec/scenarios/codeblock/{fenced/with-command-prompt.adoc → command-prompt.adoc} +0 -0
- data/spec/scenarios/codeblock/{with-command-prompt.md → command-prompt.md} +0 -0
- data/spec/scenarios/codeblock/{with-command-prompt.adoc → fenced/command-prompt.adoc} +0 -0
- data/spec/scenarios/codeblock/fenced/{with-command-prompt.md → command-prompt.md} +0 -0
- data/spec/scenarios/codeblock/fenced/{with-language.adoc → language.adoc} +0 -0
- data/spec/scenarios/codeblock/fenced/{with-language.md → language.md} +0 -0
- data/spec/scenarios/codeblock/fenced/{with-non-contiguous-command-prompts.adoc → non-contiguous-command-prompts.adoc} +0 -0
- data/spec/scenarios/codeblock/fenced/{with-non-contiguous-command-prompts.md → non-contiguous-command-prompts.md} +0 -0
- data/spec/scenarios/codeblock/{with-non-contiguous-command-prompts.adoc → non-contiguous-command-prompts.adoc} +0 -0
- data/spec/scenarios/codeblock/{with-non-contiguous-command-prompts.md → non-contiguous-command-prompts.md} +0 -0
- data/spec/scenarios/codespan/caret.adoc +1 -0
- data/spec/scenarios/codespan/caret.md +1 -0
- data/spec/scenarios/codespan/possessive.adoc +3 -0
- data/spec/scenarios/codespan/possessive.md +3 -0
- data/spec/scenarios/codespan/quoted.adoc +1 -0
- data/spec/scenarios/codespan/quoted.md +1 -0
- data/spec/scenarios/codespan/smart-quotes.adoc +1 -0
- data/spec/scenarios/codespan/smart-quotes.md +1 -0
- data/spec/scenarios/codespan/unconstrained.adoc +1 -0
- data/spec/scenarios/codespan/unconstrained.md +1 -0
- data/spec/scenarios/heading/auto-id-prefix.adoc +11 -0
- data/spec/scenarios/heading/auto-id-prefix.md +7 -0
- data/spec/scenarios/heading/auto-id-prefix.opts +2 -0
- data/spec/scenarios/heading/auto-ids.adoc +1 -1
- data/spec/scenarios/heading/auto-ids.md +1 -1
- data/spec/scenarios/heading/{with-formatting.adoc → formatting.adoc} +0 -0
- data/spec/scenarios/heading/{with-formatting.md → formatting.md} +0 -0
- data/spec/scenarios/heading/{with-anchor.adoc → leading-anchor.adoc} +0 -0
- data/spec/scenarios/heading/leading-anchor.md +1 -0
- data/spec/scenarios/heading/surrounding-anchor.adoc +2 -0
- data/spec/scenarios/heading/{with-anchor.md → surrounding-anchor.md} +0 -0
- data/spec/scenarios/html_element/div-mixed.adoc +1 -0
- data/spec/scenarios/html_element/div-mixed.md +4 -0
- data/spec/scenarios/html_element/div-text-only.adoc +1 -0
- data/spec/scenarios/html_element/div-text-only.md +1 -0
- data/spec/scenarios/html_element/mark.adoc +1 -0
- data/spec/scenarios/html_element/mark.md +1 -0
- data/spec/scenarios/html_element/span.adoc +3 -0
- data/spec/scenarios/html_element/span.md +3 -0
- data/spec/scenarios/html_element/unrecognized-admonition.adoc +5 -0
- data/spec/scenarios/html_element/unrecognized-admonition.md +5 -0
- data/spec/scenarios/p/admonition/label-only.adoc +1 -0
- data/spec/scenarios/p/admonition/label-only.md +1 -0
- data/spec/scenarios/table/{with-header.adoc → header.adoc} +0 -0
- data/spec/scenarios/table/{with-header.md → header.md} +0 -0
- data/spec/scenarios/table/{without-header.adoc → no-header.adoc} +0 -0
- data/spec/scenarios/table/{without-header.md → no-header.md} +0 -0
- data/spec/scenarios/wrap/ventilate-with-comments.adoc +5 -0
- data/spec/scenarios/wrap/ventilate-with-comments.md +5 -0
- data/spec/scenarios/wrap/ventilate-with-comments.opts +1 -0
- data/spec/scenarios/xml_comment/above-block.adoc +7 -0
- data/spec/scenarios/xml_comment/above-block.md +5 -0
- data/spec/scenarios/xml_comment/line-empty.adoc +7 -0
- data/spec/scenarios/xml_comment/line-empty.md +9 -0
- data/spec/scenarios/xml_comment/multiline-span.adoc +4 -0
- data/spec/scenarios/xml_comment/multiline-span.md +4 -0
- data/spec/scenarios/xml_comment/p-separator.adoc +5 -0
- data/spec/scenarios/xml_comment/p-separator.md +5 -0
- data/spec/scenarios/xml_comment/surrounded-by-spaces.adoc +3 -0
- data/spec/scenarios/xml_comment/surrounded-by-spaces.md +1 -0
- data/spec/spec_helper.rb +1 -0
- metadata +118 -42
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
## <a id="env"></a>Environment
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
Being able to write in AsciiDoc instead of Markdown, *priceless*.
|
@@ -0,0 +1 @@
|
|
1
|
+
Just a lonely div.
|
@@ -0,0 +1 @@
|
|
1
|
+
<div>Just a lonely div.</div>
|
@@ -0,0 +1 @@
|
|
1
|
+
If you want to draw attention to text, #highlight# it.
|
@@ -0,0 +1 @@
|
|
1
|
+
If you want to draw attention to text, <mark>highlight</mark> it.
|
@@ -0,0 +1 @@
|
|
1
|
+
_Note_
|
@@ -0,0 +1 @@
|
|
1
|
+
*Note*
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
:wrap: :ventilate
|
@@ -0,0 +1 @@
|
|
1
|
+
foo <!-- bar --> baz
|