kramdown 2.1.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/CONTRIBUTERS +19 -3
  3. data/README.md +8 -2
  4. data/VERSION +1 -1
  5. data/lib/kramdown/converter/base.rb +2 -1
  6. data/lib/kramdown/converter/html.rb +37 -30
  7. data/lib/kramdown/converter/kramdown.rb +20 -10
  8. data/lib/kramdown/converter/latex.rb +2 -2
  9. data/lib/kramdown/converter/math_engine/mathjax.rb +7 -33
  10. data/lib/kramdown/converter/syntax_highlighter/rouge.rb +17 -9
  11. data/lib/kramdown/converter/syntax_highlighter.rb +1 -1
  12. data/lib/kramdown/element.rb +24 -0
  13. data/lib/kramdown/options.rb +62 -12
  14. data/lib/kramdown/parser/base.rb +3 -1
  15. data/lib/kramdown/parser/html.rb +16 -9
  16. data/lib/kramdown/parser/kramdown/abbreviation.rb +1 -1
  17. data/lib/kramdown/parser/kramdown/autolink.rb +2 -2
  18. data/lib/kramdown/parser/kramdown/codespan.rb +18 -4
  19. data/lib/kramdown/parser/kramdown/emphasis.rb +1 -1
  20. data/lib/kramdown/parser/kramdown/extensions.rb +6 -0
  21. data/lib/kramdown/parser/kramdown/header.rb +3 -2
  22. data/lib/kramdown/parser/kramdown/html.rb +4 -10
  23. data/lib/kramdown/parser/kramdown/list.rb +37 -9
  24. data/lib/kramdown/parser/kramdown/math.rb +1 -1
  25. data/lib/kramdown/parser/kramdown/table.rb +2 -2
  26. data/lib/kramdown/parser/kramdown.rb +8 -1
  27. data/lib/kramdown/utils/html.rb +9 -0
  28. data/lib/kramdown/version.rb +1 -1
  29. data/man/man1/kramdown.1 +23 -0
  30. data/test/test_files.rb +28 -18
  31. data/test/test_location.rb +2 -2
  32. data/test/test_string_scanner_kramdown.rb +1 -1
  33. data/test/testcases/block/03_paragraph/standalone_image.html +5 -0
  34. data/test/testcases/block/03_paragraph/standalone_image.text +3 -0
  35. data/test/testcases/block/03_paragraph/to_kramdown.kramdown +7 -0
  36. data/test/testcases/block/03_paragraph/to_kramdown.text +5 -0
  37. data/test/testcases/block/04_header/atx_header.html +6 -0
  38. data/test/testcases/block/04_header/atx_header.text +6 -0
  39. data/test/testcases/block/06_codeblock/rouge/multiple.html +1 -1
  40. data/test/testcases/block/06_codeblock/rouge/simple.html +1 -1
  41. data/test/testcases/block/09_html/processing_instruction.html +5 -6
  42. data/test/testcases/block/09_html/standalone_image_in_div.htmlinput +7 -0
  43. data/test/testcases/block/09_html/standalone_image_in_div.text +8 -0
  44. data/test/testcases/block/09_html/table.kramdown +8 -0
  45. data/test/testcases/block/09_html/table.text +7 -0
  46. data/test/testcases/block/12_extension/options.html +4 -4
  47. data/test/testcases/block/12_extension/options.text +2 -0
  48. data/test/testcases/block/12_extension/options2.html +4 -4
  49. data/test/testcases/block/14_table/table_with_footnote.html +4 -4
  50. data/test/testcases/block/15_math/gh_128.html +1 -2
  51. data/test/testcases/block/15_math/normal.html +16 -15
  52. data/test/testcases/block/16_toc/toc_with_footnotes.html +4 -4
  53. data/test/testcases/cjk-line-break.html +4 -0
  54. data/test/testcases/cjk-line-break.options +1 -0
  55. data/test/testcases/cjk-line-break.text +12 -0
  56. data/test/testcases/man/example.man +1 -1
  57. data/test/testcases/man/example.text +1 -1
  58. data/test/testcases/span/02_emphasis/normal.html +4 -0
  59. data/test/testcases/span/02_emphasis/normal.text +4 -0
  60. data/test/testcases/span/03_codespan/normal.html +4 -0
  61. data/test/testcases/span/03_codespan/normal.text +4 -0
  62. data/test/testcases/span/04_footnote/backlink_inline.html +21 -21
  63. data/test/testcases/span/04_footnote/backlink_text.html +4 -4
  64. data/test/testcases/span/04_footnote/footnote_nr.html +6 -6
  65. data/test/testcases/span/04_footnote/footnote_prefix.html +6 -6
  66. data/test/testcases/span/04_footnote/inside_footnote.html +9 -9
  67. data/test/testcases/span/04_footnote/markers.html +16 -16
  68. data/test/testcases/span/04_footnote/placement.html +4 -4
  69. data/test/testcases/span/04_footnote/regexp_problem.html +4 -4
  70. data/test/testcases/span/04_footnote/without_backlink.html +3 -3
  71. data/test/testcases/span/05_html/normal.html +1 -1
  72. data/test/testcases/span/abbreviations/abbrev_in_html.html +9 -0
  73. data/test/testcases/span/abbreviations/abbrev_in_html.text +10 -0
  74. data/test/testcases/span/abbreviations/in_footnote.html +4 -4
  75. data/test/testcases/span/math/normal.html +4 -4
  76. data/test/testcases/span/text_substitutions/entities.html +1 -1
  77. data/test/testcases/span/text_substitutions/entities.text +1 -1
  78. metadata +36 -15
  79. data/test/testcases/block/15_math/mathjax_preview.html +0 -4
  80. data/test/testcases/block/15_math/mathjax_preview.options +0 -2
  81. data/test/testcases/block/15_math/mathjax_preview.text +0 -5
  82. data/test/testcases/block/15_math/mathjax_preview_as_code.html +0 -4
  83. data/test/testcases/block/15_math/mathjax_preview_as_code.options +0 -3
  84. data/test/testcases/block/15_math/mathjax_preview_as_code.text +0 -5
  85. data/test/testcases/block/15_math/mathjax_preview_simple.html +0 -4
  86. data/test/testcases/block/15_math/mathjax_preview_simple.options +0 -2
  87. data/test/testcases/block/15_math/mathjax_preview_simple.text +0 -5
@@ -1,12 +1,12 @@
1
- <p>This is a<sup id="fnref:adf123-ab"><a href="#fn:adf123-ab" class="footnote">1</a></sup> footnote<sup id="fnref:adf123-ab:1"><a href="#fn:adf123-ab" class="footnote">1</a></sup>. And another<sup id="fnref:adf123-bc"><a href="#fn:adf123-bc" class="footnote">2</a></sup>.</p>
1
+ <p>This is a<sup id="fnref:adf123-ab" role="doc-noteref"><a href="#fn:adf123-ab" class="footnote" rel="footnote">1</a></sup> footnote<sup id="fnref:adf123-ab:1" role="doc-noteref"><a href="#fn:adf123-ab" class="footnote" rel="footnote">1</a></sup>. And another<sup id="fnref:adf123-bc" role="doc-noteref"><a href="#fn:adf123-bc" class="footnote" rel="footnote">2</a></sup>.</p>
2
2
 
3
- <div class="footnotes">
3
+ <div class="footnotes" role="doc-endnotes">
4
4
  <ol>
5
- <li id="fn:adf123-ab">
6
- <p>Some text. <a href="#fnref:adf123-ab" class="reversefootnote">&#8617;</a> <a href="#fnref:adf123-ab:1" class="reversefootnote">&#8617;<sup>2</sup></a></p>
5
+ <li id="fn:adf123-ab" role="doc-endnote">
6
+ <p>Some text. <a href="#fnref:adf123-ab" class="reversefootnote" role="doc-backlink">&#8617;</a> <a href="#fnref:adf123-ab:1" class="reversefootnote" role="doc-backlink">&#8617;<sup>2</sup></a></p>
7
7
  </li>
8
- <li id="fn:adf123-bc">
9
- <p>Some other text. <a href="#fnref:adf123-bc" class="reversefootnote">&#8617;</a></p>
8
+ <li id="fn:adf123-bc" role="doc-endnote">
9
+ <p>Some other text. <a href="#fnref:adf123-bc" class="reversefootnote" role="doc-backlink">&#8617;</a></p>
10
10
  </li>
11
11
  </ol>
12
12
  </div>
@@ -1,17 +1,17 @@
1
- <p>Lorem ipsum<sup id="fnref:first"><a href="#fn:first" class="footnote">1</a></sup> dolor sit amet.</p>
1
+ <p>Lorem ipsum<sup id="fnref:first" role="doc-noteref"><a href="#fn:first" class="footnote" rel="footnote">1</a></sup> dolor sit amet.</p>
2
2
 
3
- <p>Lorem ipsum<sup id="fnref:second"><a href="#fn:second" class="footnote">2</a></sup> dolor sit amet.</p>
3
+ <p>Lorem ipsum<sup id="fnref:second" role="doc-noteref"><a href="#fn:second" class="footnote" rel="footnote">2</a></sup> dolor sit amet.</p>
4
4
 
5
- <div class="footnotes">
5
+ <div class="footnotes" role="doc-endnotes">
6
6
  <ol>
7
- <li id="fn:first">
8
- <p>Consecutur adisping.<sup id="fnref:third"><a href="#fn:third" class="footnote">3</a></sup> <a href="#fnref:first" class="reversefootnote">&#8617;</a></p>
7
+ <li id="fn:first" role="doc-endnote">
8
+ <p>Consecutur adisping.<sup id="fnref:third" role="doc-noteref"><a href="#fn:third" class="footnote" rel="footnote">3</a></sup> <a href="#fnref:first" class="reversefootnote" role="doc-backlink">&#8617;</a></p>
9
9
  </li>
10
- <li id="fn:second">
11
- <p>Sed ut perspiciatis unde omnis. <a href="#fnref:second" class="reversefootnote">&#8617;</a></p>
10
+ <li id="fn:second" role="doc-endnote">
11
+ <p>Sed ut perspiciatis unde omnis. <a href="#fnref:second" class="reversefootnote" role="doc-backlink">&#8617;</a></p>
12
12
  </li>
13
- <li id="fn:third">
14
- <p>Sed ut. <a href="#fnref:third" class="reversefootnote">&#8617;</a></p>
13
+ <li id="fn:third" role="doc-endnote">
14
+ <p>Sed ut. <a href="#fnref:third" class="reversefootnote" role="doc-backlink">&#8617;</a></p>
15
15
  </li>
16
16
  </ol>
17
17
  </div>
@@ -1,46 +1,46 @@
1
- <p>This is some *ref.<sup id="fnref:fn"><a href="#fn:fn" class="footnote">1</a></sup></p>
1
+ <p>This is some *ref.<sup id="fnref:fn" role="doc-noteref"><a href="#fn:fn" class="footnote" rel="footnote">1</a></sup></p>
2
2
 
3
3
  <blockquote>
4
- <p>a blockquote <sup id="fnref:3"><a href="#fn:3" class="footnote">2</a></sup></p>
4
+ <p>a blockquote <sup id="fnref:3" role="doc-noteref"><a href="#fn:3" class="footnote" rel="footnote">2</a></sup></p>
5
5
  </blockquote>
6
6
 
7
7
  <ul>
8
- <li>and a list item <sup id="fnref:1"><a href="#fn:1" class="footnote">3</a></sup></li>
8
+ <li>and a list item <sup id="fnref:1" role="doc-noteref"><a href="#fn:1" class="footnote" rel="footnote">3</a></sup></li>
9
9
  </ul>
10
10
 
11
- <h1>And a header<sup id="fnref:now"><a href="#fn:now" class="footnote">4</a></sup></h1>
11
+ <h1>And a header<sup id="fnref:now" role="doc-noteref"><a href="#fn:now" class="footnote" rel="footnote">4</a></sup></h1>
12
12
 
13
13
  <p>A marker without a definition [^without].</p>
14
14
 
15
- <p>A marker <sup id="fnref:empty"><a href="#fn:empty" class="footnote">5</a></sup> used twice<sup id="fnref:fn:1"><a href="#fn:fn" class="footnote">1</a></sup> and thrice<sup id="fnref:fn:2"><a href="#fn:fn" class="footnote">1</a></sup>.</p>
15
+ <p>A marker <sup id="fnref:empty" role="doc-noteref"><a href="#fn:empty" class="footnote" rel="footnote">5</a></sup> used twice<sup id="fnref:fn:1" role="doc-noteref"><a href="#fn:fn" class="footnote" rel="footnote">1</a></sup> and thrice<sup id="fnref:fn:2" role="doc-noteref"><a href="#fn:fn" class="footnote" rel="footnote">1</a></sup>.</p>
16
16
 
17
- <div class="footnotes">
17
+ <div class="footnotes" role="doc-endnotes">
18
18
  <ol>
19
- <li id="fn:fn">
20
- <p>Some foot note text&nbsp;<a href="#fnref:fn" class="reversefootnote">&#8617;</a>&nbsp;<a href="#fnref:fn:1" class="reversefootnote">&#8617;<sup>2</sup></a>&nbsp;<a href="#fnref:fn:2" class="reversefootnote">&#8617;<sup>3</sup></a></p>
19
+ <li id="fn:fn" role="doc-endnote">
20
+ <p>Some foot note text&nbsp;<a href="#fnref:fn" class="reversefootnote" role="doc-backlink">&#8617;</a>&nbsp;<a href="#fnref:fn:1" class="reversefootnote" role="doc-backlink">&#8617;<sup>2</sup></a>&nbsp;<a href="#fnref:fn:2" class="reversefootnote" role="doc-backlink">&#8617;<sup>3</sup></a></p>
21
21
  </li>
22
- <li id="fn:3">
22
+ <li id="fn:3" role="doc-endnote">
23
23
  <p>other text
24
24
  with more lines</p>
25
25
 
26
26
  <blockquote>
27
27
  <p>and a quote</p>
28
28
  </blockquote>
29
- <p><a href="#fnref:3" class="reversefootnote">&#8617;</a></p>
29
+ <p><a href="#fnref:3" class="reversefootnote" role="doc-backlink">&#8617;</a></p>
30
30
  </li>
31
- <li id="fn:1">
32
- <p>some <em>text</em>&nbsp;<a href="#fnref:1" class="reversefootnote">&#8617;</a></p>
31
+ <li id="fn:1" role="doc-endnote">
32
+ <p>some <em>text</em>&nbsp;<a href="#fnref:1" class="reversefootnote" role="doc-backlink">&#8617;</a></p>
33
33
  </li>
34
- <li id="fn:now">
34
+ <li id="fn:now" role="doc-endnote">
35
35
 
36
36
  <pre><code>code block
37
37
  continued here
38
38
  </code></pre>
39
- <p><a href="#fnref:now" class="reversefootnote">&#8617;</a></p>
39
+ <p><a href="#fnref:now" class="reversefootnote" role="doc-backlink">&#8617;</a></p>
40
40
  </li>
41
- <li id="fn:empty">
41
+ <li id="fn:empty" role="doc-endnote">
42
42
 
43
- <p><a href="#fnref:empty" class="reversefootnote">&#8617;</a></p>
43
+ <p><a href="#fnref:empty" class="reversefootnote" role="doc-backlink">&#8617;</a></p>
44
44
  </li>
45
45
  </ol>
46
46
  </div>
@@ -1,11 +1,11 @@
1
- <div class="footnotes">
1
+ <div class="footnotes" role="doc-endnotes">
2
2
  <ol>
3
- <li id="fn:1">
4
- <p>Footnote \` text&#160;<a href="#fnref:1" class="reversefootnote">&#8617;</a></p>
3
+ <li id="fn:1" role="doc-endnote">
4
+ <p>Footnote \` text&#160;<a href="#fnref:1" class="reversefootnote" role="doc-backlink">&#8617;</a></p>
5
5
  </li>
6
6
  </ol>
7
7
  </div>
8
8
 
9
- <p>Some para with a<sup id="fnref:1"><a href="#fn:1" class="footnote">1</a></sup> footnote.</p>
9
+ <p>Some para with a<sup id="fnref:1" role="doc-noteref"><a href="#fn:1" class="footnote" rel="footnote">1</a></sup> footnote.</p>
10
10
 
11
11
  <p>And another para.</p>
@@ -1,14 +1,14 @@
1
1
  <h1>Something</h1>
2
- <p>something<sup id="fnref:note1"><a href="#fn:note1" class="footnote">1</a></sup>.</p>
2
+ <p>something<sup id="fnref:note1" role="doc-noteref"><a href="#fn:note1" class="footnote" rel="footnote">1</a></sup>.</p>
3
3
 
4
4
  <h1>Footnotes</h1>
5
5
 
6
6
  <h1>Test</h1>
7
- <div class="footnotes">
7
+ <div class="footnotes" role="doc-endnotes">
8
8
  <ol>
9
- <li id="fn:note1">
9
+ <li id="fn:note1" role="doc-endnote">
10
10
 
11
- <p>A note&nbsp;<a href="#fnref:note1" class="reversefootnote">&#8617;</a></p>
11
+ <p>A note&nbsp;<a href="#fnref:note1" class="reversefootnote" role="doc-backlink">&#8617;</a></p>
12
12
  </li>
13
13
  </ol>
14
14
  </div>
@@ -1,8 +1,8 @@
1
- <p>Some footnote here<sup id="fnref:fn"><a href="#fn:fn" class="footnote">1</a></sup></p>
1
+ <p>Some footnote here<sup id="fnref:fn" role="doc-noteref"><a href="#fn:fn" class="footnote" rel="footnote">1</a></sup></p>
2
2
 
3
- <div class="footnotes">
3
+ <div class="footnotes" role="doc-endnotes">
4
4
  <ol>
5
- <li id="fn:fn">
5
+ <li id="fn:fn" role="doc-endnote">
6
6
  <p>Some text here</p>
7
7
  </li>
8
8
  </ol>
@@ -2,7 +2,7 @@
2
2
 
3
3
  <p><a href="test">title</a> is a title.</p>
4
4
 
5
- <p>This is <? a PI ?>.</p>
5
+ <p>This is &lt;? a PI ?&gt;.</p>
6
6
 
7
7
  <p>This is <!-- a --> comment.</p>
8
8
 
@@ -0,0 +1,9 @@
1
+ <p>This is <em>some <abbr title="This Escapes SVG Text.">TEST</abbr></em> to check.</p>
2
+
3
+ <svg width="100" height="30" viewBox="0 0 100 30" xmlns="http://www.w3.org/2000/svg">
4
+ <text x="20" y="20">This TEST fails.</text>
5
+ </svg>
6
+ <svg width="100" height="30" viewBox="0 0 100 30" xmlns="http://www.w3.org/2000/svg">
7
+ <text x="20" y="20">This <abbr title="This Escapes SVG Text.">TEST</abbr> fails.</text>
8
+ </svg>
9
+
@@ -0,0 +1,10 @@
1
+ This is <em>some TEST</em> to check.
2
+
3
+ <svg width="100" height="30" viewBox="0 0 100 30" xmlns="http://www.w3.org/2000/svg">
4
+ <text x="20" y="20">This TEST fails.</text>
5
+ </svg>
6
+ <svg width="100" height="30" viewBox="0 0 100 30" xmlns="http://www.w3.org/2000/svg">
7
+ <text x="20" y="20" markdown="span">This TEST fails.</text>
8
+ </svg>
9
+
10
+ *[TEST]: This Escapes SVG Text.
@@ -1,9 +1,9 @@
1
- <p>There is a <abbr title="Text File">TXT</abbr> file here. <sup id="fnref:1"><a href="#fn:1" class="footnote">1</a></sup></p>
1
+ <p>There is a <abbr title="Text File">TXT</abbr> file here. <sup id="fnref:1" role="doc-noteref"><a href="#fn:1" class="footnote" rel="footnote">1</a></sup></p>
2
2
 
3
- <div class="footnotes">
3
+ <div class="footnotes" role="doc-endnotes">
4
4
  <ol>
5
- <li id="fn:1">
6
- <p>A <abbr title="Text File">TXT</abbr> file. <a href="#fnref:1" class="reversefootnote">&#8617;</a></p>
5
+ <li id="fn:1" role="doc-endnote">
6
+ <p>A <abbr title="Text File">TXT</abbr> file. <a href="#fnref:1" class="reversefootnote" role="doc-backlink">&#8617;</a></p>
7
7
  </li>
8
8
  </ol>
9
9
  </div>
@@ -1,10 +1,10 @@
1
- <p>This is <script type="math/tex">\lambda_\alpha > 5</script> some math. With <script type="math/tex">1
2
- + 1</script> new line characters in between.</p>
1
+ <p>This is \(\lambda_\alpha &gt; 5\) some math. With \(1
2
+ + 1\) new line characters in between.</p>
3
3
 
4
- <p><script type="math/tex">5+5</script> inline math, $5.00 $$no math$$</p>
4
+ <p>\(5+5\) inline math, $5.00 $$no math$$</p>
5
5
 
6
6
  <p>$$5+5$$ inline math</p>
7
7
 
8
- <p><script type="math/tex">5+5</script></p>
8
+ <p>\(5+5\)</p>
9
9
 
10
10
  <p>$$5+5$$</p>
@@ -3,4 +3,4 @@ As well \&amp; as this. Some &#343; other
3
3
  values may &#xAF; may also show but
4
4
  not st. like &amp;#xYZ;.</p>
5
5
 
6
- <p>This is BS&amp;T; done!</p>
6
+ <p>This &lt;span&gt; is BS&amp;T; done!</p>
@@ -3,4 +3,4 @@ As well \& as this. Some &#343; other
3
3
  values may &#xAF; may also show but
4
4
  not st. like &#xYZ;.
5
5
 
6
- This is BS&T; done!
6
+ This &lt;span&gt; is BS&T; done!
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kramdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Leitner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-31 00:00:00.000000000 Z
11
+ date: 2022-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rexml
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::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'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: minitest
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -28,16 +42,22 @@ dependencies:
28
42
  name: rouge
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
31
48
  - - ">="
32
49
  - !ruby/object:Gem::Version
33
- version: '0'
50
+ version: 3.26.0
34
51
  type: :development
35
52
  prerelease: false
36
53
  version_requirements: !ruby/object:Gem::Requirement
37
54
  requirements:
55
+ - - "~>"
56
+ - !ruby/object:Gem::Version
57
+ version: '3.0'
38
58
  - - ">="
39
59
  - !ruby/object:Gem::Version
40
- version: '0'
60
+ version: 3.26.0
41
61
  - !ruby/object:Gem::Dependency
42
62
  name: stringex
43
63
  requirement: !ruby/object:Gem::Requirement
@@ -150,6 +170,8 @@ files:
150
170
  - test/testcases/block/03_paragraph/one_para.text
151
171
  - test/testcases/block/03_paragraph/standalone_image.html
152
172
  - test/testcases/block/03_paragraph/standalone_image.text
173
+ - test/testcases/block/03_paragraph/to_kramdown.kramdown
174
+ - test/testcases/block/03_paragraph/to_kramdown.text
153
175
  - test/testcases/block/03_paragraph/two_para.html
154
176
  - test/testcases/block/03_paragraph/two_para.text
155
177
  - test/testcases/block/03_paragraph/with_html_to_native.html
@@ -350,6 +372,10 @@ files:
350
372
  - test/testcases/block/09_html/simple.html
351
373
  - test/testcases/block/09_html/simple.options
352
374
  - test/testcases/block/09_html/simple.text
375
+ - test/testcases/block/09_html/standalone_image_in_div.htmlinput
376
+ - test/testcases/block/09_html/standalone_image_in_div.text
377
+ - test/testcases/block/09_html/table.kramdown
378
+ - test/testcases/block/09_html/table.text
353
379
  - test/testcases/block/09_html/textarea.html
354
380
  - test/testcases/block/09_html/textarea.text
355
381
  - test/testcases/block/09_html/xml.html
@@ -421,15 +447,6 @@ files:
421
447
  - test/testcases/block/14_table/table_with_footnote.text
422
448
  - test/testcases/block/15_math/gh_128.html
423
449
  - test/testcases/block/15_math/gh_128.text
424
- - test/testcases/block/15_math/mathjax_preview.html
425
- - test/testcases/block/15_math/mathjax_preview.options
426
- - test/testcases/block/15_math/mathjax_preview.text
427
- - test/testcases/block/15_math/mathjax_preview_as_code.html
428
- - test/testcases/block/15_math/mathjax_preview_as_code.options
429
- - test/testcases/block/15_math/mathjax_preview_as_code.text
430
- - test/testcases/block/15_math/mathjax_preview_simple.html
431
- - test/testcases/block/15_math/mathjax_preview_simple.options
432
- - test/testcases/block/15_math/mathjax_preview_simple.text
433
450
  - test/testcases/block/15_math/no_engine.html
434
451
  - test/testcases/block/15_math/no_engine.options
435
452
  - test/testcases/block/15_math/no_engine.text
@@ -449,6 +466,9 @@ files:
449
466
  - test/testcases/block/16_toc/toc_with_links.html
450
467
  - test/testcases/block/16_toc/toc_with_links.options
451
468
  - test/testcases/block/16_toc/toc_with_links.text
469
+ - test/testcases/cjk-line-break.html
470
+ - test/testcases/cjk-line-break.options
471
+ - test/testcases/cjk-line-break.text
452
472
  - test/testcases/encoding.html
453
473
  - test/testcases/encoding.text
454
474
  - test/testcases/man/example.man
@@ -570,6 +590,8 @@ files:
570
590
  - test/testcases/span/abbreviations/abbrev.text
571
591
  - test/testcases/span/abbreviations/abbrev_defs.html
572
592
  - test/testcases/span/abbreviations/abbrev_defs.text
593
+ - test/testcases/span/abbreviations/abbrev_in_html.html
594
+ - test/testcases/span/abbreviations/abbrev_in_html.text
573
595
  - test/testcases/span/abbreviations/in_footnote.html
574
596
  - test/testcases/span/abbreviations/in_footnote.text
575
597
  - test/testcases/span/autolinks/url_links.html
@@ -641,8 +663,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
641
663
  - !ruby/object:Gem::Version
642
664
  version: '0'
643
665
  requirements: []
644
- rubyforge_project:
645
- rubygems_version: 2.7.3
666
+ rubygems_version: 3.2.32
646
667
  signing_key:
647
668
  specification_version: 4
648
669
  summary: kramdown is a fast, pure-Ruby Markdown-superset converter.
@@ -1,4 +0,0 @@
1
- <p>This is a <span class="MathJax_Preview">5 + 5</span><script type="math/tex">5 + 5</script> statement</p>
2
-
3
- <div class="MathJax_Preview">5 + 5</div>
4
- <script type="math/tex; mode=display">5 + 5</script>
@@ -1,2 +0,0 @@
1
- :math_engine_opts:
2
- :preview: true
@@ -1,5 +0,0 @@
1
- This is a $$5 + 5$$ statement
2
-
3
- $$
4
- 5 + 5
5
- $$
@@ -1,4 +0,0 @@
1
- <p>This is a <code class="MathJax_Preview">5 + 5</code><script type="math/tex">5 + 5</script> statement</p>
2
-
3
- <pre class="MathJax_Preview"><code>5 + 5</code></pre>
4
- <script type="math/tex; mode=display">5 + 5</script>
@@ -1,3 +0,0 @@
1
- :math_engine_opts:
2
- :preview: true
3
- :preview_as_code: true
@@ -1,5 +0,0 @@
1
- This is a $$5 + 5$$ statement
2
-
3
- $$
4
- 5 + 5
5
- $$
@@ -1,4 +0,0 @@
1
- <p>This is a <span class="MathJax_Preview">math</span><script type="math/tex">5 + 5</script> statement</p>
2
-
3
- <div class="MathJax_Preview">math</div>
4
- <script type="math/tex; mode=display">5 + 5</script>
@@ -1,2 +0,0 @@
1
- :math_engine_opts:
2
- :preview: 'math'
@@ -1,5 +0,0 @@
1
- This is a $$5 + 5$$ statement
2
-
3
- $$
4
- 5 + 5
5
- $$