kramdown 2.0.0.beta2 → 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.

Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/CONTRIBUTERS +14 -3
  3. data/VERSION +1 -1
  4. data/bin/kramdown +48 -19
  5. data/lib/kramdown/converter/base.rb +2 -1
  6. data/lib/kramdown/converter/html.rb +47 -25
  7. data/lib/kramdown/converter/kramdown.rb +11 -6
  8. data/lib/kramdown/converter/latex.rb +1 -1
  9. data/lib/kramdown/converter/math_engine/mathjax.rb +7 -33
  10. data/lib/kramdown/converter/syntax_highlighter.rb +1 -1
  11. data/lib/kramdown/converter/syntax_highlighter/rouge.rb +20 -9
  12. data/lib/kramdown/element.rb +30 -3
  13. data/lib/kramdown/options.rb +57 -8
  14. data/lib/kramdown/parser/base.rb +3 -1
  15. data/lib/kramdown/parser/html.rb +8 -8
  16. data/lib/kramdown/parser/kramdown.rb +11 -2
  17. data/lib/kramdown/parser/kramdown/autolink.rb +2 -2
  18. data/lib/kramdown/parser/kramdown/blank_line.rb +2 -2
  19. data/lib/kramdown/parser/kramdown/block_boundary.rb +3 -2
  20. data/lib/kramdown/parser/kramdown/codespan.rb +12 -2
  21. data/lib/kramdown/parser/kramdown/emphasis.rb +1 -1
  22. data/lib/kramdown/parser/kramdown/extensions.rb +14 -8
  23. data/lib/kramdown/parser/kramdown/header.rb +3 -2
  24. data/lib/kramdown/parser/kramdown/html.rb +4 -10
  25. data/lib/kramdown/parser/kramdown/link.rb +3 -2
  26. data/lib/kramdown/parser/kramdown/list.rb +64 -33
  27. data/lib/kramdown/parser/kramdown/math.rb +1 -1
  28. data/lib/kramdown/parser/kramdown/paragraph.rb +3 -3
  29. data/lib/kramdown/parser/kramdown/table.rb +3 -3
  30. data/lib/kramdown/utils/html.rb +9 -0
  31. data/lib/kramdown/version.rb +1 -1
  32. data/man/man1/kramdown.1 +31 -1
  33. data/test/test_files.rb +18 -11
  34. data/test/test_location.rb +2 -2
  35. data/test/test_string_scanner_kramdown.rb +1 -1
  36. data/test/testcases/block/03_paragraph/standalone_image.html +8 -0
  37. data/test/testcases/block/03_paragraph/standalone_image.text +6 -0
  38. data/test/testcases/block/04_header/atx_header.html +6 -0
  39. data/test/testcases/block/04_header/atx_header.text +6 -0
  40. data/test/testcases/block/06_codeblock/guess_lang_css_class.html +15 -0
  41. data/test/testcases/block/06_codeblock/guess_lang_css_class.options +2 -0
  42. data/test/testcases/block/06_codeblock/guess_lang_css_class.text +13 -0
  43. data/test/testcases/block/09_html/processing_instruction.html +5 -6
  44. data/test/testcases/block/09_html/standalone_image_in_div.htmlinput +7 -0
  45. data/test/testcases/block/09_html/standalone_image_in_div.text +8 -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/span/02_emphasis/normal.html +4 -0
  57. data/test/testcases/span/02_emphasis/normal.text +4 -0
  58. data/test/testcases/span/03_codespan/normal-css-class.html +1 -0
  59. data/test/testcases/span/03_codespan/normal-css-class.options +2 -0
  60. data/test/testcases/span/03_codespan/normal-css-class.text +1 -0
  61. data/test/testcases/span/04_footnote/backlink_inline.html +21 -21
  62. data/test/testcases/span/04_footnote/backlink_text.html +4 -4
  63. data/test/testcases/span/04_footnote/footnote_nr.html +6 -6
  64. data/test/testcases/span/04_footnote/footnote_prefix.html +12 -0
  65. data/test/testcases/span/04_footnote/footnote_prefix.options +1 -0
  66. data/test/testcases/span/04_footnote/footnote_prefix.text +4 -0
  67. data/test/testcases/span/04_footnote/inside_footnote.html +9 -9
  68. data/test/testcases/span/04_footnote/markers.html +16 -16
  69. data/test/testcases/span/04_footnote/placement.html +4 -4
  70. data/test/testcases/span/04_footnote/regexp_problem.html +4 -4
  71. data/test/testcases/span/04_footnote/without_backlink.html +3 -3
  72. data/test/testcases/span/05_html/normal.html +1 -1
  73. data/test/testcases/span/abbreviations/in_footnote.html +4 -4
  74. data/test/testcases/span/math/normal.html +4 -4
  75. metadata +35 -15
  76. data/test/testcases/block/15_math/mathjax_preview.html +0 -4
  77. data/test/testcases/block/15_math/mathjax_preview.options +0 -2
  78. data/test/testcases/block/15_math/mathjax_preview.text +0 -5
  79. data/test/testcases/block/15_math/mathjax_preview_as_code.html +0 -4
  80. data/test/testcases/block/15_math/mathjax_preview_as_code.options +0 -3
  81. data/test/testcases/block/15_math/mathjax_preview_as_code.text +0 -5
  82. data/test/testcases/block/15_math/mathjax_preview_simple.html +0 -4
  83. data/test/testcases/block/15_math/mathjax_preview_simple.options +0 -2
  84. data/test/testcases/block/15_math/mathjax_preview_simple.text +0 -5
@@ -0,0 +1 @@
1
+ :footnote_prefix: adf123-
@@ -0,0 +1,4 @@
1
+ This is a[^ab] footnote[^ab]. And another[^bc].
2
+
3
+ [^ab]: Some text.
4
+ [^bc]: Some other text.
@@ -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">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">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">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">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">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">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">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">5</a></sup> used twice<sup id="fnref:fn:1" role="doc-noteref"><a href="#fn:fn" class="footnote">1</a></sup> and thrice<sup id="fnref:fn:2" role="doc-noteref"><a href="#fn:fn" class="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">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">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">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
 
@@ -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">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>
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.0.0.beta2
4
+ version: 2.3.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-13 00:00:00.000000000 Z
11
+ date: 2020-06-28 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
@@ -148,6 +162,8 @@ files:
148
162
  - test/testcases/block/03_paragraph/no_newline_at_end.text
149
163
  - test/testcases/block/03_paragraph/one_para.html
150
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
151
167
  - test/testcases/block/03_paragraph/two_para.html
152
168
  - test/testcases/block/03_paragraph/two_para.text
153
169
  - test/testcases/block/03_paragraph/with_html_to_native.html
@@ -192,6 +208,9 @@ files:
192
208
  - test/testcases/block/06_codeblock/disable-highlighting.text
193
209
  - test/testcases/block/06_codeblock/error.html
194
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
195
214
  - test/testcases/block/06_codeblock/highlighting-minted-with-opts.latex
196
215
  - test/testcases/block/06_codeblock/highlighting-minted-with-opts.options
197
216
  - test/testcases/block/06_codeblock/highlighting-minted-with-opts.text
@@ -345,6 +364,8 @@ files:
345
364
  - test/testcases/block/09_html/simple.html
346
365
  - test/testcases/block/09_html/simple.options
347
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
348
369
  - test/testcases/block/09_html/textarea.html
349
370
  - test/testcases/block/09_html/textarea.text
350
371
  - test/testcases/block/09_html/xml.html
@@ -416,15 +437,6 @@ files:
416
437
  - test/testcases/block/14_table/table_with_footnote.text
417
438
  - test/testcases/block/15_math/gh_128.html
418
439
  - test/testcases/block/15_math/gh_128.text
419
- - test/testcases/block/15_math/mathjax_preview.html
420
- - test/testcases/block/15_math/mathjax_preview.options
421
- - test/testcases/block/15_math/mathjax_preview.text
422
- - test/testcases/block/15_math/mathjax_preview_as_code.html
423
- - test/testcases/block/15_math/mathjax_preview_as_code.options
424
- - test/testcases/block/15_math/mathjax_preview_as_code.text
425
- - test/testcases/block/15_math/mathjax_preview_simple.html
426
- - test/testcases/block/15_math/mathjax_preview_simple.options
427
- - test/testcases/block/15_math/mathjax_preview_simple.text
428
440
  - test/testcases/block/15_math/no_engine.html
429
441
  - test/testcases/block/15_math/no_engine.options
430
442
  - test/testcases/block/15_math/no_engine.text
@@ -444,6 +456,9 @@ files:
444
456
  - test/testcases/block/16_toc/toc_with_links.html
445
457
  - test/testcases/block/16_toc/toc_with_links.options
446
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
447
462
  - test/testcases/encoding.html
448
463
  - test/testcases/encoding.text
449
464
  - test/testcases/man/example.man
@@ -501,6 +516,9 @@ files:
501
516
  - test/testcases/span/03_codespan/highlighting-minted.text
502
517
  - test/testcases/span/03_codespan/highlighting.html
503
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
504
522
  - test/testcases/span/03_codespan/normal.html
505
523
  - test/testcases/span/03_codespan/normal.text
506
524
  - test/testcases/span/03_codespan/rouge/disabled.html
@@ -522,6 +540,9 @@ files:
522
540
  - test/testcases/span/04_footnote/footnote_nr.latex
523
541
  - test/testcases/span/04_footnote/footnote_nr.options
524
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
525
546
  - test/testcases/span/04_footnote/inside_footnote.html
526
547
  - test/testcases/span/04_footnote/inside_footnote.text
527
548
  - test/testcases/span/04_footnote/markers.html
@@ -626,12 +647,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
626
647
  version: '2.3'
627
648
  required_rubygems_version: !ruby/object:Gem::Requirement
628
649
  requirements:
629
- - - ">"
650
+ - - ">="
630
651
  - !ruby/object:Gem::Version
631
- version: 1.3.1
652
+ version: '0'
632
653
  requirements: []
633
- rubyforge_project:
634
- rubygems_version: 2.7.3
654
+ rubygems_version: 3.0.3
635
655
  signing_key:
636
656
  specification_version: 4
637
657
  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
- $$