Skip to content

Commit

Permalink
🎨 Update classes applied to html math output (#63)
Browse files Browse the repository at this point in the history
sglyon authored Jan 24, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent ef03d93 commit f07f9e9
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/examples/directives.math.yml
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ cases:
Ax = b
```
html: |-
<div class="math block">Ax = b</div>
<div class="math-display">Ax = b</div>
latex: |-
\begin{equation}
Ax = b
@@ -43,7 +43,7 @@ cases:
Ax = b
```
html: |-
<div id="matrix" class="math block">Ax = b</div>
<div id="matrix" class="math-display">Ax = b</div>
latex: |-
\begin{equation}
\label{matrix}
4 changes: 2 additions & 2 deletions docs/examples/references.equations.yml
Original file line number Diff line number Diff line change
@@ -89,7 +89,7 @@ cases:
```
html: |-
<p>see <a href="#matrix">(1)</a></p>
<div id="matrix" class="math block">Ax = b</div>
<div id="matrix" class="math-display">Ax = b</div>
- title: Link-style equation reference
mdast:
type: root
@@ -122,4 +122,4 @@ cases:
```
html: |-
<p>see <a href="#matrix">(1)</a></p>
<div id="matrix" class="math block">Ax = b</div>
<div id="matrix" class="math-display">Ax = b</div>
2 changes: 1 addition & 1 deletion docs/examples/roles.math.yml
Original file line number Diff line number Diff line change
@@ -17,4 +17,4 @@ cases:
myst: |-
This is genius {math}`e=mc^2`
html: |-
<p>This is genius <span class="math inline">e=mc^2</span></p>
<p>This is genius <span class="math-inline">e=mc^2</span></p>

0 comments on commit f07f9e9

Please sign in to comment.