Skip to content

Commit

Permalink
🎨 Update classes applied to html math output (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
sglyon authored Jan 24, 2024
1 parent ef03d93 commit f07f9e9
Show file tree
Hide file tree
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
Expand Up @@ -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
Expand Down Expand Up @@ -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}
Expand Down
4 changes: 2 additions & 2 deletions docs/examples/references.equations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Up @@ -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.