diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-02-01 11:08:27 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-02-01 11:08:27 -0800 |
commit | 6a0d4da38267830e98f89fb9a79a244d6208387c (patch) | |
tree | c71ea6578a826f6725ec560518a6cb6b925b7a7d /tests/writer.html | |
parent | 5073758bb89cbbba00d525b78282d407a978efb5 (diff) | |
download | pandoc-6a0d4da38267830e98f89fb9a79a244d6208387c.tar.gz |
HTML writer: Add "inline" or "display" class to math spans.
This allows inline and display math to be styled differently.
Closes #1914.
Diffstat (limited to 'tests/writer.html')
-rw-r--r-- | tests/writer.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/writer.html b/tests/writer.html index 34da66835..6f7d1764b 100644 --- a/tests/writer.html +++ b/tests/writer.html @@ -419,13 +419,13 @@ Blah <h1 id="latex">LaTeX</h1> <ul> <li></li> -<li><span class="math">2 + 2 = 4</span></li> -<li><span class="math"><em>x</em> ∈ <em>y</em></span></li> -<li><span class="math"><em>α</em> ∧ <em>ω</em></span></li> -<li><span class="math">223</span></li> -<li><span class="math"><em>p</em></span>-Tree</li> -<li>Here’s some display math: <br /><span class="math">$$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$$</span><br /></li> -<li>Here’s one that has a line break in it: <span class="math"><em>α</em> + <em>ω</em> × <em>x</em><sup>2</sup></span>.</li> +<li><span class="math inline">2 + 2 = 4</span></li> +<li><span class="math inline"><em>x</em> ∈ <em>y</em></span></li> +<li><span class="math inline"><em>α</em> ∧ <em>ω</em></span></li> +<li><span class="math inline">223</span></li> +<li><span class="math inline"><em>p</em></span>-Tree</li> +<li>Here’s some display math: <br /><span class="math display">$$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$$</span><br /></li> +<li>Here’s one that has a line break in it: <span class="math inline"><em>α</em> + <em>ω</em> × <em>x</em><sup>2</sup></span>.</li> </ul> <p>These shouldn’t be math:</p> <ul> |