Skip to content

Commit

Permalink
test to check backticks
Browse files Browse the repository at this point in the history
  • Loading branch information
navanchauhan committed Apr 1, 2024
1 parent 8802f81 commit d171ac9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
11 changes: 9 additions & 2 deletions test/tm-cases/latex.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@ <h2>Simple Test</h2>

<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>

<p>This code will render everywhere
<p>This code block will not have the math rendered.
<code>
some random code, describing $a and $b will be rendered, $y=mx$
some random code, describing $a and $b will not be rendered, $y=mx$
</code>
This will not work either <code>$\sqrt{2}</code> or</p>

<p><code>
$$
f = 12
$$
</code></p>
11 changes: 9 additions & 2 deletions test/tm-cases/latex.text
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,14 @@ Block equations are wrapped using
$$
x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
$$
This code will render everywhere
This code block will not have the math rendered.
```
some random code, describing $a and $b will be rendered, $y=mx$
some random code, describing $a and $b will not be rendered, $y=mx$
```
This will not work either `$\sqrt{2}` or

```
$$
f = 12
$$
```

0 comments on commit d171ac9

Please sign in to comment.