kramdown 0.14.2 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of kramdown might be problematic. Click here for more details.
- checksums.yaml +7 -0
- data/CONTRIBUTERS +63 -1
- data/COPYING +17 -11
- data/README.md +35 -14
- data/VERSION +1 -1
- data/bin/kramdown +92 -40
- data/data/kramdown/document.html +4 -0
- data/data/kramdown/document.latex +7 -0
- data/lib/kramdown.rb +3 -16
- data/lib/kramdown/converter.rb +42 -16
- data/lib/kramdown/converter/base.rb +102 -38
- data/lib/kramdown/converter/hash_ast.rb +38 -0
- data/lib/kramdown/converter/html.rb +232 -141
- data/lib/kramdown/converter/kramdown.rb +122 -104
- data/lib/kramdown/converter/latex.rb +95 -78
- data/lib/kramdown/converter/man.rb +300 -0
- data/lib/kramdown/converter/math_engine/mathjax.rb +32 -0
- data/lib/kramdown/converter/remove_html_tags.rb +8 -17
- data/lib/kramdown/converter/syntax_highlighter.rb +56 -0
- data/lib/kramdown/converter/syntax_highlighter/minted.rb +35 -0
- data/lib/kramdown/converter/syntax_highlighter/rouge.rb +85 -0
- data/lib/kramdown/converter/toc.rb +7 -20
- data/lib/kramdown/document.rb +30 -37
- data/lib/kramdown/element.rb +54 -27
- data/lib/kramdown/error.rb +3 -16
- data/lib/kramdown/options.rb +392 -247
- data/lib/kramdown/parser.rb +3 -16
- data/lib/kramdown/parser/base.rb +28 -33
- data/lib/kramdown/parser/html.rb +151 -119
- data/lib/kramdown/parser/kramdown.rb +87 -50
- data/lib/kramdown/parser/kramdown/abbreviation.rb +33 -27
- data/lib/kramdown/parser/kramdown/autolink.rb +7 -25
- data/lib/kramdown/parser/kramdown/blank_line.rb +6 -19
- data/lib/kramdown/parser/kramdown/block_boundary.rb +6 -18
- data/lib/kramdown/parser/kramdown/blockquote.rb +6 -19
- data/lib/kramdown/parser/kramdown/codeblock.rb +15 -24
- data/lib/kramdown/parser/kramdown/codespan.rb +20 -22
- data/lib/kramdown/parser/kramdown/emphasis.rb +15 -24
- data/lib/kramdown/parser/kramdown/eob.rb +3 -16
- data/lib/kramdown/parser/kramdown/escaped_chars.rb +3 -16
- data/lib/kramdown/parser/kramdown/extensions.rb +66 -56
- data/lib/kramdown/parser/kramdown/footnote.rb +21 -31
- data/lib/kramdown/parser/kramdown/header.rb +37 -37
- data/lib/kramdown/parser/kramdown/horizontal_rule.rb +5 -17
- data/lib/kramdown/parser/kramdown/html.rb +47 -56
- data/lib/kramdown/parser/kramdown/html_entity.rb +9 -19
- data/lib/kramdown/parser/kramdown/line_break.rb +4 -17
- data/lib/kramdown/parser/kramdown/link.rb +39 -38
- data/lib/kramdown/parser/kramdown/list.rb +124 -82
- data/lib/kramdown/parser/kramdown/math.rb +12 -24
- data/lib/kramdown/parser/kramdown/paragraph.rb +23 -24
- data/lib/kramdown/parser/kramdown/smart_quotes.rb +26 -66
- data/lib/kramdown/parser/kramdown/table.rb +41 -48
- data/lib/kramdown/parser/kramdown/typographic_symbol.rb +14 -22
- data/lib/kramdown/parser/markdown.rb +11 -23
- data/lib/kramdown/utils.rb +21 -18
- data/lib/kramdown/utils/configurable.rb +45 -0
- data/lib/kramdown/utils/entities.rb +287 -292
- data/lib/kramdown/utils/html.rb +27 -30
- data/lib/kramdown/utils/lru_cache.rb +41 -0
- data/lib/kramdown/utils/string_scanner.rb +81 -0
- data/lib/kramdown/utils/unidecoder.rb +50 -0
- data/lib/kramdown/version.rb +4 -17
- data/man/man1/kramdown.1 +340 -347
- data/test/run_tests.rb +7 -20
- data/test/test_files.rb +188 -100
- data/test/test_location.rb +216 -0
- data/test/test_string_scanner_kramdown.rb +27 -0
- data/test/testcases/block/03_paragraph/indented.html.gfm +18 -0
- data/test/testcases/block/03_paragraph/line_break_last_line.html +9 -0
- data/test/testcases/block/03_paragraph/line_break_last_line.text +9 -0
- data/test/testcases/block/03_paragraph/standalone_image.html +8 -0
- data/test/testcases/block/03_paragraph/standalone_image.text +6 -0
- data/test/testcases/block/03_paragraph/with_html_to_native.html +1 -0
- data/test/testcases/block/03_paragraph/with_html_to_native.options +1 -0
- data/test/testcases/block/03_paragraph/with_html_to_native.text +1 -0
- data/test/testcases/block/04_header/atx_header.html +15 -1
- data/test/testcases/block/04_header/atx_header.text +14 -1
- data/test/testcases/block/04_header/setext_header.html +3 -1
- data/test/testcases/block/04_header/setext_header.text +4 -1
- data/test/testcases/block/04_header/with_auto_id_stripping.html +1 -0
- data/test/testcases/block/04_header/with_auto_id_stripping.options +1 -0
- data/test/testcases/block/04_header/with_auto_id_stripping.text +1 -0
- data/test/testcases/block/04_header/with_auto_ids.html +2 -0
- data/test/testcases/block/04_header/with_auto_ids.options +1 -0
- data/test/testcases/block/04_header/with_auto_ids.text +2 -0
- data/test/testcases/block/06_codeblock/guess_lang_css_class.html +15 -0
- data/test/testcases/block/06_codeblock/guess_lang_css_class.options +2 -0
- data/test/testcases/block/06_codeblock/guess_lang_css_class.text +13 -0
- data/test/testcases/block/06_codeblock/highlighting-minted-with-opts.latex +9 -0
- data/test/testcases/block/06_codeblock/highlighting-minted-with-opts.options +4 -0
- data/test/testcases/block/06_codeblock/highlighting-minted-with-opts.text +5 -0
- data/test/testcases/block/06_codeblock/highlighting-minted.latex +8 -0
- data/test/testcases/block/06_codeblock/highlighting-minted.options +3 -0
- data/test/testcases/block/06_codeblock/highlighting-minted.text +4 -0
- data/test/testcases/block/06_codeblock/highlighting-opts.html +6 -0
- data/test/testcases/block/06_codeblock/highlighting-opts.options +7 -0
- data/test/testcases/block/06_codeblock/highlighting-opts.text +4 -0
- data/test/testcases/block/06_codeblock/highlighting.html +5 -6
- data/test/testcases/block/06_codeblock/issue_gh45.html +164 -0
- data/test/testcases/block/06_codeblock/issue_gh45.test +188 -0
- data/test/testcases/block/06_codeblock/rouge/disabled.html +2 -0
- data/test/testcases/block/06_codeblock/rouge/disabled.options +4 -0
- data/test/testcases/block/06_codeblock/rouge/disabled.text +1 -0
- data/test/testcases/block/06_codeblock/rouge/multiple.html +11 -0
- data/test/testcases/block/06_codeblock/rouge/multiple.options +4 -0
- data/test/testcases/block/06_codeblock/rouge/multiple.text +11 -0
- data/test/testcases/block/06_codeblock/rouge/simple.html +10 -0
- data/test/testcases/block/06_codeblock/rouge/simple.options +3 -0
- data/test/testcases/block/06_codeblock/rouge/simple.text +9 -0
- data/test/testcases/block/06_codeblock/with_lang_in_fenced_block.options +1 -1
- data/test/testcases/block/06_codeblock/with_lang_in_fenced_block_any_char.html +8 -0
- data/test/testcases/block/06_codeblock/with_lang_in_fenced_block_any_char.options +2 -0
- data/test/testcases/block/06_codeblock/with_lang_in_fenced_block_any_char.text +11 -0
- data/test/testcases/block/06_codeblock/with_lang_in_fenced_block_name_with_dash.html +3 -0
- data/test/testcases/block/06_codeblock/with_lang_in_fenced_block_name_with_dash.options +2 -0
- data/test/testcases/block/06_codeblock/with_lang_in_fenced_block_name_with_dash.text +4 -0
- data/test/testcases/block/07_horizontal_rule/error.html +2 -2
- data/test/testcases/block/07_horizontal_rule/normal.html +2 -0
- data/test/testcases/block/07_horizontal_rule/normal.text +3 -0
- data/test/testcases/block/08_list/brackets_in_item.latex +3 -0
- data/test/testcases/block/08_list/brackets_in_item.text +1 -0
- data/test/testcases/block/08_list/lazy_and_nested.html +9 -0
- data/test/testcases/block/08_list/lazy_and_nested.text +4 -0
- data/test/testcases/block/09_html/html5_attributes.html +2 -0
- data/test/testcases/block/09_html/html5_attributes.text +2 -0
- data/test/testcases/block/09_html/html_after_block.html +7 -0
- data/test/testcases/block/09_html/html_after_block.text +5 -0
- data/test/testcases/block/09_html/html_to_native/table_simple.html +13 -0
- data/test/testcases/block/09_html/html_to_native/table_simple.text +15 -0
- data/test/testcases/block/09_html/html_to_native/typography.html +1 -1
- data/test/testcases/block/09_html/not_parsed.html +1 -1
- data/test/testcases/block/09_html/processing_instruction.html +5 -6
- data/test/testcases/block/09_html/simple.html +1 -5
- data/test/testcases/block/09_html/simple.text +1 -5
- data/test/testcases/block/09_html/standalone_image_in_div.htmlinput +7 -0
- data/test/testcases/block/09_html/standalone_image_in_div.text +8 -0
- data/test/testcases/block/09_html/textarea.html +8 -0
- data/test/testcases/block/09_html/textarea.text +8 -0
- data/test/testcases/block/09_html/xml.html +8 -0
- data/test/testcases/block/09_html/xml.text +7 -0
- data/test/testcases/block/11_ial/simple.html +5 -1
- data/test/testcases/block/11_ial/simple.text +8 -1
- data/test/testcases/block/12_extension/options.html +4 -4
- data/test/testcases/block/12_extension/options.text +2 -0
- data/test/testcases/block/12_extension/options2.html +4 -4
- data/test/testcases/block/12_extension/options3.html +7 -6
- data/test/testcases/block/12_extension/options3.text +2 -2
- data/test/testcases/block/13_definition_list/auto_ids.html +15 -0
- data/test/testcases/block/13_definition_list/auto_ids.text +18 -0
- data/test/testcases/block/13_definition_list/item_ial.html +5 -0
- data/test/testcases/block/13_definition_list/item_ial.text +8 -0
- data/test/testcases/block/14_table/empty_tag_in_cell.html +8 -0
- data/test/testcases/block/14_table/empty_tag_in_cell.options +1 -0
- data/test/testcases/block/14_table/empty_tag_in_cell.text +1 -0
- data/test/testcases/block/14_table/errors.html +4 -0
- data/test/testcases/block/14_table/errors.text +4 -0
- data/test/testcases/block/14_table/header.html +21 -0
- data/test/testcases/block/14_table/header.text +7 -0
- data/test/testcases/block/14_table/simple.html +22 -7
- data/test/testcases/block/14_table/simple.text +4 -0
- data/test/testcases/block/14_table/table_with_footnote.html +4 -4
- data/test/testcases/block/15_math/gh_128.html +1 -0
- data/test/testcases/block/15_math/gh_128.text +1 -0
- data/test/testcases/block/15_math/no_engine.html +3 -0
- data/test/testcases/block/15_math/no_engine.options +1 -0
- data/test/testcases/block/15_math/no_engine.text +2 -0
- data/test/testcases/block/15_math/normal.html +17 -14
- data/test/testcases/block/15_math/normal.text +2 -0
- data/test/testcases/block/16_toc/toc_exclude.html +7 -7
- data/test/testcases/block/16_toc/toc_levels.html +5 -5
- data/test/testcases/block/16_toc/toc_levels.text +1 -1
- data/test/testcases/block/16_toc/toc_with_footnotes.html +5 -5
- data/test/testcases/block/16_toc/toc_with_links.html +8 -0
- data/test/testcases/block/16_toc/toc_with_links.options +2 -0
- data/test/testcases/block/16_toc/toc_with_links.text +8 -0
- data/test/testcases/cjk-line-break.html +4 -0
- data/test/testcases/cjk-line-break.options +1 -0
- data/test/testcases/cjk-line-break.text +12 -0
- data/test/testcases/man/example.man +123 -0
- data/test/testcases/man/example.text +85 -0
- data/test/testcases/man/heading-name-dash-description.man +4 -0
- data/test/testcases/man/heading-name-dash-description.text +1 -0
- data/test/testcases/man/heading-name-description.man +4 -0
- data/test/testcases/man/heading-name-description.text +2 -0
- data/test/testcases/man/heading-name-section-description.man +4 -0
- data/test/testcases/man/heading-name-section-description.text +1 -0
- data/test/testcases/man/heading-name-section.man +2 -0
- data/test/testcases/man/heading-name-section.text +1 -0
- data/test/testcases/man/heading-name.man +2 -0
- data/test/testcases/man/heading-name.text +1 -0
- data/test/testcases/man/sections.man +4 -0
- data/test/testcases/man/sections.text +11 -0
- data/test/testcases/man/text-escaping.man +8 -0
- data/test/testcases/man/text-escaping.text +7 -0
- data/test/testcases/span/01_link/empty.html +1 -1
- data/test/testcases/span/01_link/empty_title.htmlinput +3 -0
- data/test/testcases/span/01_link/empty_title.text +7 -0
- data/test/testcases/span/01_link/imagelinks.html +1 -0
- data/test/testcases/span/01_link/imagelinks.text +2 -0
- data/test/testcases/span/01_link/inline.html +1 -1
- data/test/testcases/span/01_link/latex_escaping.latex +6 -0
- data/test/testcases/span/01_link/latex_escaping.text +5 -0
- data/test/testcases/span/01_link/link_defs.html +1 -1
- data/test/testcases/span/01_link/link_defs.text +2 -1
- data/test/testcases/span/01_link/link_defs_with_ial.html +4 -0
- data/test/testcases/span/01_link/link_defs_with_ial.text +16 -0
- data/test/testcases/span/01_link/reference.html +3 -3
- data/test/testcases/span/02_emphasis/nesting.html +3 -0
- data/test/testcases/span/02_emphasis/nesting.text +4 -1
- data/test/testcases/span/02_emphasis/normal.html +19 -0
- data/test/testcases/span/02_emphasis/normal.options +1 -0
- data/test/testcases/span/02_emphasis/normal.text +17 -0
- data/test/testcases/span/03_codespan/highlighting-minted.latex +2 -0
- data/test/testcases/span/03_codespan/highlighting-minted.options +1 -0
- data/test/testcases/span/03_codespan/highlighting-minted.text +1 -0
- data/test/testcases/span/03_codespan/highlighting.html +1 -1
- data/test/testcases/span/03_codespan/normal-css-class.html +1 -0
- data/test/testcases/span/03_codespan/normal-css-class.options +2 -0
- data/test/testcases/span/03_codespan/normal-css-class.text +1 -0
- data/test/testcases/span/03_codespan/rouge/disabled.html +1 -0
- data/test/testcases/span/03_codespan/rouge/disabled.options +4 -0
- data/test/testcases/span/03_codespan/rouge/disabled.text +1 -0
- data/test/testcases/span/03_codespan/rouge/simple.html +1 -0
- data/test/testcases/span/03_codespan/rouge/simple.options +1 -0
- data/test/testcases/span/03_codespan/rouge/simple.text +1 -0
- data/test/testcases/span/04_footnote/backlink_inline.html +79 -0
- data/test/testcases/span/04_footnote/backlink_inline.options +1 -0
- data/test/testcases/span/04_footnote/backlink_inline.text +38 -0
- data/test/testcases/span/04_footnote/backlink_text.html +9 -0
- data/test/testcases/span/04_footnote/backlink_text.options +1 -0
- data/test/testcases/span/04_footnote/backlink_text.text +3 -0
- data/test/testcases/span/04_footnote/definitions.latex +2 -2
- data/test/testcases/span/04_footnote/footnote_nr.html +6 -6
- data/test/testcases/span/04_footnote/footnote_prefix.html +12 -0
- data/test/testcases/span/04_footnote/footnote_prefix.options +1 -0
- data/test/testcases/span/04_footnote/footnote_prefix.text +4 -0
- data/test/testcases/span/04_footnote/inside_footnote.html +17 -0
- data/test/testcases/span/04_footnote/inside_footnote.text +9 -0
- data/test/testcases/span/04_footnote/markers.html +16 -16
- data/test/testcases/span/04_footnote/markers.latex +3 -3
- data/test/testcases/span/04_footnote/markers.options +2 -0
- data/test/testcases/span/04_footnote/markers.text +2 -1
- data/test/testcases/span/04_footnote/placement.html +11 -0
- data/test/testcases/span/04_footnote/placement.options +1 -0
- data/test/testcases/span/04_footnote/placement.text +8 -0
- data/test/testcases/span/04_footnote/regexp_problem.html +14 -0
- data/test/testcases/span/04_footnote/regexp_problem.options +2 -0
- data/test/testcases/span/04_footnote/regexp_problem.text +52 -0
- data/test/testcases/span/04_footnote/without_backlink.html +9 -0
- data/test/testcases/span/04_footnote/without_backlink.options +1 -0
- data/test/testcases/span/04_footnote/without_backlink.text +3 -0
- data/test/testcases/span/05_html/button.html +7 -0
- data/test/testcases/span/05_html/button.text +7 -0
- data/test/testcases/span/05_html/mark_element.html +3 -0
- data/test/testcases/span/05_html/mark_element.text +3 -0
- data/test/testcases/span/05_html/normal.html +10 -1
- data/test/testcases/span/05_html/normal.text +9 -0
- data/test/testcases/span/05_html/raw_span_elements.html +2 -0
- data/test/testcases/span/05_html/raw_span_elements.text +2 -0
- data/test/testcases/span/05_html/xml.html +5 -0
- data/test/testcases/span/05_html/xml.text +5 -0
- data/test/testcases/span/abbreviations/abbrev.html +14 -1
- data/test/testcases/span/abbreviations/abbrev.text +18 -2
- data/test/testcases/span/abbreviations/in_footnote.html +9 -0
- data/test/testcases/span/abbreviations/in_footnote.text +5 -0
- data/test/testcases/span/autolinks/url_links.html +5 -4
- data/test/testcases/span/autolinks/url_links.text +1 -0
- data/test/testcases/span/line_breaks/normal.html +2 -2
- data/test/testcases/span/line_breaks/normal.latex +2 -2
- data/test/testcases/span/math/no_engine.html +1 -0
- data/test/testcases/span/math/no_engine.options +1 -0
- data/test/testcases/span/math/no_engine.text +1 -0
- data/test/testcases/span/math/normal.html +4 -3
- data/test/testcases/span/math/normal.text +2 -1
- data/test/testcases/span/text_substitutions/entities_as_char.html +1 -1
- data/test/testcases/span/text_substitutions/entities_as_char.options +1 -0
- data/test/testcases/span/text_substitutions/entities_as_char.text +1 -1
- data/test/testcases/span/text_substitutions/typography.html +22 -0
- data/test/testcases/span/text_substitutions/typography.text +22 -0
- data/test/testcases/span/text_substitutions/typography_subst.html +3 -0
- data/test/testcases/span/text_substitutions/typography_subst.latex +4 -0
- data/test/testcases/span/text_substitutions/typography_subst.options +8 -0
- data/test/testcases/span/text_substitutions/typography_subst.text +3 -0
- metadata +218 -67
- data/ChangeLog +0 -7436
- data/GPL +0 -674
- data/Rakefile +0 -306
- data/benchmark/benchmark.rb +0 -36
- data/benchmark/benchmark.sh +0 -74
- data/benchmark/generate_data.rb +0 -119
- data/benchmark/mdbasics.text +0 -306
- data/benchmark/mdsyntax.text +0 -888
- data/benchmark/testing.sh +0 -9
- data/benchmark/timing.sh +0 -10
- data/doc/bg.png +0 -0
- data/doc/default.scss.css +0 -181
- data/doc/default.template +0 -68
- data/doc/design.scss.css +0 -441
- data/doc/documentation.page +0 -84
- data/doc/documentation.template +0 -20
- data/doc/index.page +0 -94
- data/doc/installation.page +0 -88
- data/doc/links.markdown +0 -6
- data/doc/metainfo +0 -3
- data/doc/news.feed +0 -10
- data/doc/news.page +0 -29
- data/doc/options.page +0 -10
- data/doc/quickref.page +0 -598
- data/doc/sidebar.template +0 -21
- data/doc/syntax.page +0 -1700
- data/doc/tests.page +0 -91
- data/doc/virtual +0 -2
- data/lib/kramdown/compatibility.rb +0 -49
- data/lib/kramdown/utils/ordered_hash.rb +0 -100
- data/setup.rb +0 -1585
- data/test/testcases/block/07_horizontal_rule/error.html.19 +0 -7
- data/test/testcases/block/09_html/html_to_native/typography.html.19 +0 -1
- data/test/testcases/block/09_html/simple.html.19 +0 -64
- data/test/testcases/block/14_table/simple.html.19 +0 -177
- data/test/testcases/span/01_link/inline.html.19 +0 -46
- data/test/testcases/span/01_link/reference.html.19 +0 -37
- data/test/testcases/span/text_substitutions/entities_as_char.html.19 +0 -1
@@ -1,6 +1,7 @@
|
|
1
1
|
This should be a <http://www.example.com/> link.
|
2
2
|
This should be a <mailto:john.doe@example.com> link.
|
3
3
|
As should <john.doe@example.com> this.
|
4
|
+
As should <john_doe@example.com> this.
|
4
5
|
As should <CSS@example.com> this.
|
5
6
|
Another ampersand <http://www.example.com/?doit&x=y> link.
|
6
7
|
More entities <http://www.example.com/?doit&x="y&z=y>.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<p>This is a line<br />
|
2
|
-
with a line break
|
2
|
+
with a line break.</p>
|
3
3
|
|
4
4
|
<p>This is a line
|
5
5
|
without a line break.</p>
|
@@ -8,4 +8,4 @@ without a line break.</p>
|
|
8
8
|
with a line\ <br />
|
9
9
|
break.</p>
|
10
10
|
|
11
|
-
<p>Line break on last line
|
11
|
+
<p>Line break on last line.</p>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
This is a line\newline
|
2
|
-
with a line break.
|
2
|
+
with a line break.
|
3
3
|
|
4
4
|
This is a line
|
5
5
|
without a line break.
|
@@ -8,5 +8,5 @@ This is a line \newline
|
|
8
8
|
with a line\textbackslash{} \newline
|
9
9
|
break.
|
10
10
|
|
11
|
-
Line break on last line.
|
11
|
+
Line break on last line.
|
12
12
|
|
@@ -0,0 +1 @@
|
|
1
|
+
<p><span class="kdmath">$5+5$</span> inline math</p>
|
@@ -0,0 +1 @@
|
|
1
|
+
:math_engine: ~
|
@@ -0,0 +1 @@
|
|
1
|
+
$$5+5$$ inline math
|
@@ -1,9 +1,10 @@
|
|
1
|
-
<p>This is
|
1
|
+
<p>This is \(\lambda_\alpha > 5\) some math. With \(1
|
2
|
+
+ 1\) new line characters in between.</p>
|
2
3
|
|
3
|
-
<p
|
4
|
+
<p>\(5+5\) inline math, $5.00 $$no math$$</p>
|
4
5
|
|
5
6
|
<p>$$5+5$$ inline math</p>
|
6
7
|
|
7
|
-
<p
|
8
|
+
<p>\(5+5\)</p>
|
8
9
|
|
9
10
|
<p>$$5+5$$</p>
|
@@ -1 +1 @@
|
|
1
|
-
<p>This is the A&O.
|
1
|
+
<p>This "is" 'the' A&O. © 2008 by me ŗ and λ</p>
|
@@ -1 +1 @@
|
|
1
|
-
This is the A&O. © 2008 by me ŗ and λ
|
1
|
+
This "is" 'the' A&O. © 2008 by me ŗ and λ
|
@@ -16,3 +16,25 @@ Mark’s name. “…you”
|
|
16
16
|
|
17
17
|
<p>Nam liber tempor
|
18
18
|
“…At vero eos et accusam”</p>
|
19
|
+
|
20
|
+
<p>“<em>Single underscores</em> should work.”</p>
|
21
|
+
|
22
|
+
<p>“<em>Single asterisks</em> should work.”</p>
|
23
|
+
|
24
|
+
<p>‘<strong>Double underscores</strong> should work.’</p>
|
25
|
+
|
26
|
+
<p>‘<strong>Double asterisks</strong> should work.’</p>
|
27
|
+
|
28
|
+
<p>“<em>Hurrah!</em>”</p>
|
29
|
+
|
30
|
+
<p>‘<strong>Absolutely</strong>.’</p>
|
31
|
+
|
32
|
+
<p>“…some Text”</p>
|
33
|
+
|
34
|
+
<p>“… some Text”</p>
|
35
|
+
|
36
|
+
<p>This: “…some Text”</p>
|
37
|
+
|
38
|
+
<p>This: “… some Text”</p>
|
39
|
+
|
40
|
+
<p>”[foo]” “[foo]” d “[foo]”</p>
|
@@ -16,3 +16,25 @@ Mark's name. "...you"
|
|
16
16
|
|
17
17
|
Nam liber tempor
|
18
18
|
"...At vero eos et accusam"
|
19
|
+
|
20
|
+
"_Single underscores_ should work."
|
21
|
+
|
22
|
+
"*Single asterisks* should work."
|
23
|
+
|
24
|
+
'__Double underscores__ should work.'
|
25
|
+
|
26
|
+
'**Double asterisks** should work.'
|
27
|
+
|
28
|
+
"_Hurrah!_"
|
29
|
+
|
30
|
+
'__Absolutely__.'
|
31
|
+
|
32
|
+
"...some Text"
|
33
|
+
|
34
|
+
"... some Text"
|
35
|
+
|
36
|
+
This: "...some Text"
|
37
|
+
|
38
|
+
This: "... some Text"
|
39
|
+
|
40
|
+
"\[foo]" "\[foo]" d "\[foo]"
|
metadata
CHANGED
@@ -1,68 +1,101 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kramdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
5
|
-
prerelease:
|
4
|
+
version: 2.3.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Thomas Leitner
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2020-06-28 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
14
|
+
name: rexml
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: minitest
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '5.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '5.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rouge
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
22
48
|
type: :development
|
23
49
|
prerelease: false
|
24
50
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
51
|
requirements:
|
27
|
-
- -
|
52
|
+
- - ">="
|
28
53
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
30
|
-
|
31
|
-
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: stringex
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.5.1
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 1.5.1
|
69
|
+
description: |
|
70
|
+
kramdown is yet-another-markdown-parser but fast, pure Ruby,
|
32
71
|
using a strict syntax definition and supporting several common extensions.
|
33
|
-
|
34
|
-
'
|
35
72
|
email: t_leitner@gmx.at
|
36
73
|
executables:
|
37
74
|
- kramdown
|
38
75
|
extensions: []
|
39
76
|
extra_rdoc_files: []
|
40
77
|
files:
|
41
|
-
-
|
42
|
-
-
|
78
|
+
- AUTHORS
|
79
|
+
- CONTRIBUTERS
|
43
80
|
- COPYING
|
44
|
-
- GPL
|
45
81
|
- README.md
|
46
|
-
- AUTHORS
|
47
82
|
- VERSION
|
48
|
-
- ChangeLog
|
49
|
-
- CONTRIBUTERS
|
50
83
|
- bin/kramdown
|
51
|
-
-
|
52
|
-
-
|
53
|
-
- benchmark/generate_data.rb
|
54
|
-
- benchmark/mdbasics.text
|
55
|
-
- benchmark/mdsyntax.text
|
56
|
-
- benchmark/testing.sh
|
57
|
-
- benchmark/timing.sh
|
84
|
+
- data/kramdown/document.html
|
85
|
+
- data/kramdown/document.latex
|
58
86
|
- lib/kramdown.rb
|
59
|
-
- lib/kramdown/compatibility.rb
|
60
87
|
- lib/kramdown/converter.rb
|
61
88
|
- lib/kramdown/converter/base.rb
|
89
|
+
- lib/kramdown/converter/hash_ast.rb
|
62
90
|
- lib/kramdown/converter/html.rb
|
63
91
|
- lib/kramdown/converter/kramdown.rb
|
64
92
|
- lib/kramdown/converter/latex.rb
|
93
|
+
- lib/kramdown/converter/man.rb
|
94
|
+
- lib/kramdown/converter/math_engine/mathjax.rb
|
65
95
|
- lib/kramdown/converter/remove_html_tags.rb
|
96
|
+
- lib/kramdown/converter/syntax_highlighter.rb
|
97
|
+
- lib/kramdown/converter/syntax_highlighter/minted.rb
|
98
|
+
- lib/kramdown/converter/syntax_highlighter/rouge.rb
|
66
99
|
- lib/kramdown/converter/toc.rb
|
67
100
|
- lib/kramdown/document.rb
|
68
101
|
- lib/kramdown/element.rb
|
@@ -98,33 +131,18 @@ files:
|
|
98
131
|
- lib/kramdown/parser/kramdown/typographic_symbol.rb
|
99
132
|
- lib/kramdown/parser/markdown.rb
|
100
133
|
- lib/kramdown/utils.rb
|
134
|
+
- lib/kramdown/utils/configurable.rb
|
101
135
|
- lib/kramdown/utils/entities.rb
|
102
136
|
- lib/kramdown/utils/html.rb
|
103
|
-
- lib/kramdown/utils/
|
137
|
+
- lib/kramdown/utils/lru_cache.rb
|
138
|
+
- lib/kramdown/utils/string_scanner.rb
|
139
|
+
- lib/kramdown/utils/unidecoder.rb
|
104
140
|
- lib/kramdown/version.rb
|
105
141
|
- man/man1/kramdown.1
|
106
|
-
- data/kramdown/document.html
|
107
|
-
- data/kramdown/document.latex
|
108
|
-
- doc/bg.png
|
109
|
-
- doc/default.scss.css
|
110
|
-
- doc/default.template
|
111
|
-
- doc/design.scss.css
|
112
|
-
- doc/documentation.page
|
113
|
-
- doc/documentation.template
|
114
|
-
- doc/index.page
|
115
|
-
- doc/installation.page
|
116
|
-
- doc/links.markdown
|
117
|
-
- doc/metainfo
|
118
|
-
- doc/news.feed
|
119
|
-
- doc/news.page
|
120
|
-
- doc/options.page
|
121
|
-
- doc/quickref.page
|
122
|
-
- doc/sidebar.template
|
123
|
-
- doc/syntax.page
|
124
|
-
- doc/tests.page
|
125
|
-
- doc/virtual
|
126
142
|
- test/run_tests.rb
|
127
143
|
- test/test_files.rb
|
144
|
+
- test/test_location.rb
|
145
|
+
- test/test_string_scanner_kramdown.rb
|
128
146
|
- test/testcases/block/01_blank_line/spaces.html
|
129
147
|
- test/testcases/block/01_blank_line/spaces.text
|
130
148
|
- test/testcases/block/01_blank_line/tabs.html
|
@@ -136,13 +154,21 @@ files:
|
|
136
154
|
- test/testcases/block/02_eob/middle.html
|
137
155
|
- test/testcases/block/02_eob/middle.text
|
138
156
|
- test/testcases/block/03_paragraph/indented.html
|
157
|
+
- test/testcases/block/03_paragraph/indented.html.gfm
|
139
158
|
- test/testcases/block/03_paragraph/indented.text
|
159
|
+
- test/testcases/block/03_paragraph/line_break_last_line.html
|
160
|
+
- test/testcases/block/03_paragraph/line_break_last_line.text
|
140
161
|
- test/testcases/block/03_paragraph/no_newline_at_end.html
|
141
162
|
- test/testcases/block/03_paragraph/no_newline_at_end.text
|
142
163
|
- test/testcases/block/03_paragraph/one_para.html
|
143
164
|
- test/testcases/block/03_paragraph/one_para.text
|
165
|
+
- test/testcases/block/03_paragraph/standalone_image.html
|
166
|
+
- test/testcases/block/03_paragraph/standalone_image.text
|
144
167
|
- test/testcases/block/03_paragraph/two_para.html
|
145
168
|
- test/testcases/block/03_paragraph/two_para.text
|
169
|
+
- test/testcases/block/03_paragraph/with_html_to_native.html
|
170
|
+
- test/testcases/block/03_paragraph/with_html_to_native.options
|
171
|
+
- test/testcases/block/03_paragraph/with_html_to_native.text
|
146
172
|
- test/testcases/block/04_header/atx_header.html
|
147
173
|
- test/testcases/block/04_header/atx_header.text
|
148
174
|
- test/testcases/block/04_header/atx_header_no_newline_at_end.html
|
@@ -159,6 +185,9 @@ files:
|
|
159
185
|
- test/testcases/block/04_header/with_auto_id_prefix.html
|
160
186
|
- test/testcases/block/04_header/with_auto_id_prefix.options
|
161
187
|
- test/testcases/block/04_header/with_auto_id_prefix.text
|
188
|
+
- test/testcases/block/04_header/with_auto_id_stripping.html
|
189
|
+
- test/testcases/block/04_header/with_auto_id_stripping.options
|
190
|
+
- test/testcases/block/04_header/with_auto_id_stripping.text
|
162
191
|
- test/testcases/block/04_header/with_auto_ids.html
|
163
192
|
- test/testcases/block/04_header/with_auto_ids.options
|
164
193
|
- test/testcases/block/04_header/with_auto_ids.text
|
@@ -179,9 +208,23 @@ files:
|
|
179
208
|
- test/testcases/block/06_codeblock/disable-highlighting.text
|
180
209
|
- test/testcases/block/06_codeblock/error.html
|
181
210
|
- test/testcases/block/06_codeblock/error.text
|
211
|
+
- test/testcases/block/06_codeblock/guess_lang_css_class.html
|
212
|
+
- test/testcases/block/06_codeblock/guess_lang_css_class.options
|
213
|
+
- test/testcases/block/06_codeblock/guess_lang_css_class.text
|
214
|
+
- test/testcases/block/06_codeblock/highlighting-minted-with-opts.latex
|
215
|
+
- test/testcases/block/06_codeblock/highlighting-minted-with-opts.options
|
216
|
+
- test/testcases/block/06_codeblock/highlighting-minted-with-opts.text
|
217
|
+
- test/testcases/block/06_codeblock/highlighting-minted.latex
|
218
|
+
- test/testcases/block/06_codeblock/highlighting-minted.options
|
219
|
+
- test/testcases/block/06_codeblock/highlighting-minted.text
|
220
|
+
- test/testcases/block/06_codeblock/highlighting-opts.html
|
221
|
+
- test/testcases/block/06_codeblock/highlighting-opts.options
|
222
|
+
- test/testcases/block/06_codeblock/highlighting-opts.text
|
182
223
|
- test/testcases/block/06_codeblock/highlighting.html
|
183
224
|
- test/testcases/block/06_codeblock/highlighting.options
|
184
225
|
- test/testcases/block/06_codeblock/highlighting.text
|
226
|
+
- test/testcases/block/06_codeblock/issue_gh45.html
|
227
|
+
- test/testcases/block/06_codeblock/issue_gh45.test
|
185
228
|
- test/testcases/block/06_codeblock/lazy.html
|
186
229
|
- test/testcases/block/06_codeblock/lazy.text
|
187
230
|
- test/testcases/block/06_codeblock/no_newline_at_end.html
|
@@ -190,6 +233,15 @@ files:
|
|
190
233
|
- test/testcases/block/06_codeblock/no_newline_at_end_1.text
|
191
234
|
- test/testcases/block/06_codeblock/normal.html
|
192
235
|
- test/testcases/block/06_codeblock/normal.text
|
236
|
+
- test/testcases/block/06_codeblock/rouge/disabled.html
|
237
|
+
- test/testcases/block/06_codeblock/rouge/disabled.options
|
238
|
+
- test/testcases/block/06_codeblock/rouge/disabled.text
|
239
|
+
- test/testcases/block/06_codeblock/rouge/multiple.html
|
240
|
+
- test/testcases/block/06_codeblock/rouge/multiple.options
|
241
|
+
- test/testcases/block/06_codeblock/rouge/multiple.text
|
242
|
+
- test/testcases/block/06_codeblock/rouge/simple.html
|
243
|
+
- test/testcases/block/06_codeblock/rouge/simple.options
|
244
|
+
- test/testcases/block/06_codeblock/rouge/simple.text
|
193
245
|
- test/testcases/block/06_codeblock/tilde_syntax.html
|
194
246
|
- test/testcases/block/06_codeblock/tilde_syntax.text
|
195
247
|
- test/testcases/block/06_codeblock/whitespace.html
|
@@ -203,8 +255,13 @@ files:
|
|
203
255
|
- test/testcases/block/06_codeblock/with_lang_in_fenced_block.html
|
204
256
|
- test/testcases/block/06_codeblock/with_lang_in_fenced_block.options
|
205
257
|
- test/testcases/block/06_codeblock/with_lang_in_fenced_block.text
|
258
|
+
- test/testcases/block/06_codeblock/with_lang_in_fenced_block_any_char.html
|
259
|
+
- test/testcases/block/06_codeblock/with_lang_in_fenced_block_any_char.options
|
260
|
+
- test/testcases/block/06_codeblock/with_lang_in_fenced_block_any_char.text
|
261
|
+
- test/testcases/block/06_codeblock/with_lang_in_fenced_block_name_with_dash.html
|
262
|
+
- test/testcases/block/06_codeblock/with_lang_in_fenced_block_name_with_dash.options
|
263
|
+
- test/testcases/block/06_codeblock/with_lang_in_fenced_block_name_with_dash.text
|
206
264
|
- test/testcases/block/07_horizontal_rule/error.html
|
207
|
-
- test/testcases/block/07_horizontal_rule/error.html.19
|
208
265
|
- test/testcases/block/07_horizontal_rule/error.text
|
209
266
|
- test/testcases/block/07_horizontal_rule/normal.html
|
210
267
|
- test/testcases/block/07_horizontal_rule/normal.text
|
@@ -212,12 +269,16 @@ files:
|
|
212
269
|
- test/testcases/block/07_horizontal_rule/sepspaces.text
|
213
270
|
- test/testcases/block/07_horizontal_rule/septabs.html
|
214
271
|
- test/testcases/block/07_horizontal_rule/septabs.text
|
272
|
+
- test/testcases/block/08_list/brackets_in_item.latex
|
273
|
+
- test/testcases/block/08_list/brackets_in_item.text
|
215
274
|
- test/testcases/block/08_list/escaping.html
|
216
275
|
- test/testcases/block/08_list/escaping.text
|
217
276
|
- test/testcases/block/08_list/item_ial.html
|
218
277
|
- test/testcases/block/08_list/item_ial.text
|
219
278
|
- test/testcases/block/08_list/lazy.html
|
220
279
|
- test/testcases/block/08_list/lazy.text
|
280
|
+
- test/testcases/block/08_list/lazy_and_nested.html
|
281
|
+
- test/testcases/block/08_list/lazy_and_nested.text
|
221
282
|
- test/testcases/block/08_list/list_and_hr.html
|
222
283
|
- test/testcases/block/08_list/list_and_hr.text
|
223
284
|
- test/testcases/block/08_list/list_and_others.html
|
@@ -246,6 +307,8 @@ files:
|
|
246
307
|
- test/testcases/block/09_html/content_model/tables.text
|
247
308
|
- test/testcases/block/09_html/html5_attributes.html
|
248
309
|
- test/testcases/block/09_html/html5_attributes.text
|
310
|
+
- test/testcases/block/09_html/html_after_block.html
|
311
|
+
- test/testcases/block/09_html/html_after_block.text
|
249
312
|
- test/testcases/block/09_html/html_and_codeblocks.html
|
250
313
|
- test/testcases/block/09_html/html_and_codeblocks.options
|
251
314
|
- test/testcases/block/09_html/html_and_codeblocks.text
|
@@ -276,7 +339,6 @@ files:
|
|
276
339
|
- test/testcases/block/09_html/html_to_native/table_simple.html
|
277
340
|
- test/testcases/block/09_html/html_to_native/table_simple.text
|
278
341
|
- test/testcases/block/09_html/html_to_native/typography.html
|
279
|
-
- test/testcases/block/09_html/html_to_native/typography.html.19
|
280
342
|
- test/testcases/block/09_html/html_to_native/typography.text
|
281
343
|
- test/testcases/block/09_html/invalid_html_1.html
|
282
344
|
- test/testcases/block/09_html/invalid_html_1.text
|
@@ -300,9 +362,14 @@ files:
|
|
300
362
|
- test/testcases/block/09_html/processing_instruction.html
|
301
363
|
- test/testcases/block/09_html/processing_instruction.text
|
302
364
|
- test/testcases/block/09_html/simple.html
|
303
|
-
- test/testcases/block/09_html/simple.html.19
|
304
365
|
- test/testcases/block/09_html/simple.options
|
305
366
|
- test/testcases/block/09_html/simple.text
|
367
|
+
- test/testcases/block/09_html/standalone_image_in_div.htmlinput
|
368
|
+
- test/testcases/block/09_html/standalone_image_in_div.text
|
369
|
+
- test/testcases/block/09_html/textarea.html
|
370
|
+
- test/testcases/block/09_html/textarea.text
|
371
|
+
- test/testcases/block/09_html/xml.html
|
372
|
+
- test/testcases/block/09_html/xml.text
|
306
373
|
- test/testcases/block/10_ald/simple.html
|
307
374
|
- test/testcases/block/10_ald/simple.text
|
308
375
|
- test/testcases/block/11_ial/auto_id_and_ial.html
|
@@ -326,6 +393,8 @@ files:
|
|
326
393
|
- test/testcases/block/12_extension/options2.text
|
327
394
|
- test/testcases/block/12_extension/options3.html
|
328
395
|
- test/testcases/block/12_extension/options3.text
|
396
|
+
- test/testcases/block/13_definition_list/auto_ids.html
|
397
|
+
- test/testcases/block/13_definition_list/auto_ids.text
|
329
398
|
- test/testcases/block/13_definition_list/definition_at_beginning.html
|
330
399
|
- test/testcases/block/13_definition_list/definition_at_beginning.text
|
331
400
|
- test/testcases/block/13_definition_list/deflist_ial.html
|
@@ -348,6 +417,9 @@ files:
|
|
348
417
|
- test/testcases/block/13_definition_list/too_much_space.text
|
349
418
|
- test/testcases/block/13_definition_list/with_blocks.html
|
350
419
|
- test/testcases/block/13_definition_list/with_blocks.text
|
420
|
+
- test/testcases/block/14_table/empty_tag_in_cell.html
|
421
|
+
- test/testcases/block/14_table/empty_tag_in_cell.options
|
422
|
+
- test/testcases/block/14_table/empty_tag_in_cell.text
|
351
423
|
- test/testcases/block/14_table/errors.html
|
352
424
|
- test/testcases/block/14_table/errors.text
|
353
425
|
- test/testcases/block/14_table/escaping.html
|
@@ -359,11 +431,15 @@ files:
|
|
359
431
|
- test/testcases/block/14_table/no_table.html
|
360
432
|
- test/testcases/block/14_table/no_table.text
|
361
433
|
- test/testcases/block/14_table/simple.html
|
362
|
-
- test/testcases/block/14_table/simple.html.19
|
363
434
|
- test/testcases/block/14_table/simple.text
|
364
435
|
- test/testcases/block/14_table/table_with_footnote.html
|
365
436
|
- test/testcases/block/14_table/table_with_footnote.latex
|
366
437
|
- test/testcases/block/14_table/table_with_footnote.text
|
438
|
+
- test/testcases/block/15_math/gh_128.html
|
439
|
+
- test/testcases/block/15_math/gh_128.text
|
440
|
+
- test/testcases/block/15_math/no_engine.html
|
441
|
+
- test/testcases/block/15_math/no_engine.options
|
442
|
+
- test/testcases/block/15_math/no_engine.text
|
367
443
|
- test/testcases/block/15_math/normal.html
|
368
444
|
- test/testcases/block/15_math/normal.text
|
369
445
|
- test/testcases/block/16_toc/no_toc.html
|
@@ -377,23 +453,49 @@ files:
|
|
377
453
|
- test/testcases/block/16_toc/toc_with_footnotes.html
|
378
454
|
- test/testcases/block/16_toc/toc_with_footnotes.options
|
379
455
|
- test/testcases/block/16_toc/toc_with_footnotes.text
|
456
|
+
- test/testcases/block/16_toc/toc_with_links.html
|
457
|
+
- test/testcases/block/16_toc/toc_with_links.options
|
458
|
+
- test/testcases/block/16_toc/toc_with_links.text
|
459
|
+
- test/testcases/cjk-line-break.html
|
460
|
+
- test/testcases/cjk-line-break.options
|
461
|
+
- test/testcases/cjk-line-break.text
|
380
462
|
- test/testcases/encoding.html
|
381
463
|
- test/testcases/encoding.text
|
464
|
+
- test/testcases/man/example.man
|
465
|
+
- test/testcases/man/example.text
|
466
|
+
- test/testcases/man/heading-name-dash-description.man
|
467
|
+
- test/testcases/man/heading-name-dash-description.text
|
468
|
+
- test/testcases/man/heading-name-description.man
|
469
|
+
- test/testcases/man/heading-name-description.text
|
470
|
+
- test/testcases/man/heading-name-section-description.man
|
471
|
+
- test/testcases/man/heading-name-section-description.text
|
472
|
+
- test/testcases/man/heading-name-section.man
|
473
|
+
- test/testcases/man/heading-name-section.text
|
474
|
+
- test/testcases/man/heading-name.man
|
475
|
+
- test/testcases/man/heading-name.text
|
476
|
+
- test/testcases/man/sections.man
|
477
|
+
- test/testcases/man/sections.text
|
478
|
+
- test/testcases/man/text-escaping.man
|
479
|
+
- test/testcases/man/text-escaping.text
|
382
480
|
- test/testcases/span/01_link/empty.html
|
383
481
|
- test/testcases/span/01_link/empty.text
|
482
|
+
- test/testcases/span/01_link/empty_title.htmlinput
|
483
|
+
- test/testcases/span/01_link/empty_title.text
|
384
484
|
- test/testcases/span/01_link/image_in_a.html
|
385
485
|
- test/testcases/span/01_link/image_in_a.text
|
386
486
|
- test/testcases/span/01_link/imagelinks.html
|
387
487
|
- test/testcases/span/01_link/imagelinks.text
|
388
488
|
- test/testcases/span/01_link/inline.html
|
389
|
-
- test/testcases/span/01_link/inline.html.19
|
390
489
|
- test/testcases/span/01_link/inline.text
|
490
|
+
- test/testcases/span/01_link/latex_escaping.latex
|
491
|
+
- test/testcases/span/01_link/latex_escaping.text
|
391
492
|
- test/testcases/span/01_link/link_defs.html
|
392
493
|
- test/testcases/span/01_link/link_defs.text
|
494
|
+
- test/testcases/span/01_link/link_defs_with_ial.html
|
495
|
+
- test/testcases/span/01_link/link_defs_with_ial.text
|
393
496
|
- test/testcases/span/01_link/links_with_angle_brackets.html
|
394
497
|
- test/testcases/span/01_link/links_with_angle_brackets.text
|
395
498
|
- test/testcases/span/01_link/reference.html
|
396
|
-
- test/testcases/span/01_link/reference.html.19
|
397
499
|
- test/testcases/span/01_link/reference.options
|
398
500
|
- test/testcases/span/01_link/reference.text
|
399
501
|
- test/testcases/span/02_emphasis/empty.html
|
@@ -403,15 +505,34 @@ files:
|
|
403
505
|
- test/testcases/span/02_emphasis/nesting.html
|
404
506
|
- test/testcases/span/02_emphasis/nesting.text
|
405
507
|
- test/testcases/span/02_emphasis/normal.html
|
508
|
+
- test/testcases/span/02_emphasis/normal.options
|
406
509
|
- test/testcases/span/02_emphasis/normal.text
|
407
510
|
- test/testcases/span/03_codespan/empty.html
|
408
511
|
- test/testcases/span/03_codespan/empty.text
|
409
512
|
- test/testcases/span/03_codespan/errors.html
|
410
513
|
- test/testcases/span/03_codespan/errors.text
|
514
|
+
- test/testcases/span/03_codespan/highlighting-minted.latex
|
515
|
+
- test/testcases/span/03_codespan/highlighting-minted.options
|
516
|
+
- test/testcases/span/03_codespan/highlighting-minted.text
|
411
517
|
- test/testcases/span/03_codespan/highlighting.html
|
412
518
|
- test/testcases/span/03_codespan/highlighting.text
|
519
|
+
- test/testcases/span/03_codespan/normal-css-class.html
|
520
|
+
- test/testcases/span/03_codespan/normal-css-class.options
|
521
|
+
- test/testcases/span/03_codespan/normal-css-class.text
|
413
522
|
- test/testcases/span/03_codespan/normal.html
|
414
523
|
- test/testcases/span/03_codespan/normal.text
|
524
|
+
- test/testcases/span/03_codespan/rouge/disabled.html
|
525
|
+
- test/testcases/span/03_codespan/rouge/disabled.options
|
526
|
+
- test/testcases/span/03_codespan/rouge/disabled.text
|
527
|
+
- test/testcases/span/03_codespan/rouge/simple.html
|
528
|
+
- test/testcases/span/03_codespan/rouge/simple.options
|
529
|
+
- test/testcases/span/03_codespan/rouge/simple.text
|
530
|
+
- test/testcases/span/04_footnote/backlink_inline.html
|
531
|
+
- test/testcases/span/04_footnote/backlink_inline.options
|
532
|
+
- test/testcases/span/04_footnote/backlink_inline.text
|
533
|
+
- test/testcases/span/04_footnote/backlink_text.html
|
534
|
+
- test/testcases/span/04_footnote/backlink_text.options
|
535
|
+
- test/testcases/span/04_footnote/backlink_text.text
|
415
536
|
- test/testcases/span/04_footnote/definitions.html
|
416
537
|
- test/testcases/span/04_footnote/definitions.latex
|
417
538
|
- test/testcases/span/04_footnote/definitions.text
|
@@ -419,23 +540,48 @@ files:
|
|
419
540
|
- test/testcases/span/04_footnote/footnote_nr.latex
|
420
541
|
- test/testcases/span/04_footnote/footnote_nr.options
|
421
542
|
- test/testcases/span/04_footnote/footnote_nr.text
|
543
|
+
- test/testcases/span/04_footnote/footnote_prefix.html
|
544
|
+
- test/testcases/span/04_footnote/footnote_prefix.options
|
545
|
+
- test/testcases/span/04_footnote/footnote_prefix.text
|
546
|
+
- test/testcases/span/04_footnote/inside_footnote.html
|
547
|
+
- test/testcases/span/04_footnote/inside_footnote.text
|
422
548
|
- test/testcases/span/04_footnote/markers.html
|
423
549
|
- test/testcases/span/04_footnote/markers.latex
|
550
|
+
- test/testcases/span/04_footnote/markers.options
|
424
551
|
- test/testcases/span/04_footnote/markers.text
|
552
|
+
- test/testcases/span/04_footnote/placement.html
|
553
|
+
- test/testcases/span/04_footnote/placement.options
|
554
|
+
- test/testcases/span/04_footnote/placement.text
|
555
|
+
- test/testcases/span/04_footnote/regexp_problem.html
|
556
|
+
- test/testcases/span/04_footnote/regexp_problem.options
|
557
|
+
- test/testcases/span/04_footnote/regexp_problem.text
|
558
|
+
- test/testcases/span/04_footnote/without_backlink.html
|
559
|
+
- test/testcases/span/04_footnote/without_backlink.options
|
560
|
+
- test/testcases/span/04_footnote/without_backlink.text
|
425
561
|
- test/testcases/span/05_html/across_lines.html
|
426
562
|
- test/testcases/span/05_html/across_lines.text
|
563
|
+
- test/testcases/span/05_html/button.html
|
564
|
+
- test/testcases/span/05_html/button.text
|
427
565
|
- test/testcases/span/05_html/invalid.html
|
428
566
|
- test/testcases/span/05_html/invalid.text
|
429
567
|
- test/testcases/span/05_html/link_with_mailto.html
|
430
568
|
- test/testcases/span/05_html/link_with_mailto.text
|
569
|
+
- test/testcases/span/05_html/mark_element.html
|
570
|
+
- test/testcases/span/05_html/mark_element.text
|
431
571
|
- test/testcases/span/05_html/markdown_attr.html
|
432
572
|
- test/testcases/span/05_html/markdown_attr.text
|
433
573
|
- test/testcases/span/05_html/normal.html
|
434
574
|
- test/testcases/span/05_html/normal.text
|
575
|
+
- test/testcases/span/05_html/raw_span_elements.html
|
576
|
+
- test/testcases/span/05_html/raw_span_elements.text
|
577
|
+
- test/testcases/span/05_html/xml.html
|
578
|
+
- test/testcases/span/05_html/xml.text
|
435
579
|
- test/testcases/span/abbreviations/abbrev.html
|
436
580
|
- test/testcases/span/abbreviations/abbrev.text
|
437
581
|
- test/testcases/span/abbreviations/abbrev_defs.html
|
438
582
|
- test/testcases/span/abbreviations/abbrev_defs.text
|
583
|
+
- test/testcases/span/abbreviations/in_footnote.html
|
584
|
+
- test/testcases/span/abbreviations/in_footnote.text
|
439
585
|
- test/testcases/span/autolinks/url_links.html
|
440
586
|
- test/testcases/span/autolinks/url_links.text
|
441
587
|
- test/testcases/span/escaped_chars/normal.html
|
@@ -453,13 +599,15 @@ files:
|
|
453
599
|
- test/testcases/span/line_breaks/normal.html
|
454
600
|
- test/testcases/span/line_breaks/normal.latex
|
455
601
|
- test/testcases/span/line_breaks/normal.text
|
602
|
+
- test/testcases/span/math/no_engine.html
|
603
|
+
- test/testcases/span/math/no_engine.options
|
604
|
+
- test/testcases/span/math/no_engine.text
|
456
605
|
- test/testcases/span/math/normal.html
|
457
606
|
- test/testcases/span/math/normal.text
|
458
607
|
- test/testcases/span/text_substitutions/entities.html
|
459
608
|
- test/testcases/span/text_substitutions/entities.options
|
460
609
|
- test/testcases/span/text_substitutions/entities.text
|
461
610
|
- test/testcases/span/text_substitutions/entities_as_char.html
|
462
|
-
- test/testcases/span/text_substitutions/entities_as_char.html.19
|
463
611
|
- test/testcases/span/text_substitutions/entities_as_char.options
|
464
612
|
- test/testcases/span/text_substitutions/entities_as_char.text
|
465
613
|
- test/testcases/span/text_substitutions/entities_as_input.html
|
@@ -478,30 +626,33 @@ files:
|
|
478
626
|
- test/testcases/span/text_substitutions/typography.html
|
479
627
|
- test/testcases/span/text_substitutions/typography.options
|
480
628
|
- test/testcases/span/text_substitutions/typography.text
|
481
|
-
|
482
|
-
|
629
|
+
- test/testcases/span/text_substitutions/typography_subst.html
|
630
|
+
- test/testcases/span/text_substitutions/typography_subst.latex
|
631
|
+
- test/testcases/span/text_substitutions/typography_subst.options
|
632
|
+
- test/testcases/span/text_substitutions/typography_subst.text
|
633
|
+
homepage: http://kramdown.gettalong.org
|
634
|
+
licenses:
|
635
|
+
- MIT
|
636
|
+
metadata: {}
|
483
637
|
post_install_message:
|
484
638
|
rdoc_options:
|
485
|
-
- --main
|
639
|
+
- "--main"
|
486
640
|
- lib/kramdown/document.rb
|
487
641
|
require_paths:
|
488
642
|
- lib
|
489
643
|
required_ruby_version: !ruby/object:Gem::Requirement
|
490
|
-
none: false
|
491
644
|
requirements:
|
492
|
-
- -
|
645
|
+
- - ">="
|
493
646
|
- !ruby/object:Gem::Version
|
494
|
-
version: '
|
647
|
+
version: '2.3'
|
495
648
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
496
|
-
none: false
|
497
649
|
requirements:
|
498
|
-
- -
|
650
|
+
- - ">="
|
499
651
|
- !ruby/object:Gem::Version
|
500
652
|
version: '0'
|
501
653
|
requirements: []
|
502
|
-
|
503
|
-
rubygems_version: 1.8.24
|
654
|
+
rubygems_version: 3.0.3
|
504
655
|
signing_key:
|
505
|
-
specification_version:
|
656
|
+
specification_version: 4
|
506
657
|
summary: kramdown is a fast, pure-Ruby Markdown-superset converter.
|
507
658
|
test_files: []
|