Skip to content

Commit d171ac9

Browse files
committed
test to check backticks
1 parent 8802f81 commit d171ac9

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

test/tm-cases/latex.html

+9-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,14 @@ <h2>Simple Test</h2>
55

66
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><mrow><mi>x</mi><mo>&#x0003D;</mo><mfrac><mrow><mo>&#x02212;</mo><mi>b</mi><mi>&#x000B1;</mi><msqrt><mrow><msup><mi>b</mi><mn>2</mn></msup><mo>&#x02212;</mo><mn>4</mn><mi>a</mi><mi>c</mi></mrow></msqrt></mrow><mrow><mn>2</mn><mi>a</mi></mrow></mfrac></mrow></math>
77

8-
<p>This code will render everywhere
8+
<p>This code block will not have the math rendered.
99
<code>
10-
some random code, describing $a and $b will be rendered, $y=mx$
10+
some random code, describing $a and $b will not be rendered, $y=mx$
11+
</code>
12+
This will not work either <code>$\sqrt{2}</code> or</p>
13+
14+
<p><code>
15+
$$
16+
f = 12
17+
$$
1118
</code></p>

test/tm-cases/latex.text

+9-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,14 @@ Block equations are wrapped using
44
$$
55
x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
66
$$
7-
This code will render everywhere
7+
This code block will not have the math rendered.
88
```
9-
some random code, describing $a and $b will be rendered, $y=mx$
9+
some random code, describing $a and $b will not be rendered, $y=mx$
10+
```
11+
This will not work either `$\sqrt{2}` or
12+
13+
```
14+
$$
15+
f = 12
16+
$$
1017
```

0 commit comments

Comments
 (0)