You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'<span class="math-display"><span class="katex-error" title="Error: Expected node of type textord, but got node of type ordgroup" style="color:#cc0000">\\begin{split}\n\\end{{split}}\n</span></span>'
248
+
'<code class="math-display"><span class="katex-error" title="Error: Expected node of type textord, but got node of type ordgroup" style="color:#cc0000">\\begin{split}\n\\end{{split}}\n</span></code>'
Copy file name to clipboardExpand all lines: packages/rehype-mathjax/readme.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -77,8 +77,8 @@ Say we have the following file `example.html`:
77
77
78
78
```html
79
79
<p>
80
-
Lift(<spanclass="math math-inline">L</span>) can be determined by Lift Coefficient
81
-
(<spanclass="math math-inline">C_L</span>) like the following equation.
80
+
Lift(<codeclass="language-math math-inline">L</span>) can be determined by Lift Coefficient
81
+
(<codeclass="language-math math-inline">C_L</span>) like the following equation.
82
82
</p>
83
83
84
84
<divclass="math math-display">
@@ -108,8 +108,8 @@ Now running `node example.js` yields:
108
108
109
109
```html
110
110
<p>
111
-
Lift(<spanclass="math math-inline"><mjx-containerclass="MathJax"jax="SVG"><!--…--></mjx-container></span>) can be determined by Lift Coefficient
112
-
(<spanclass="math math-inline"><mjx-containerclass="MathJax"jax="SVG"><!--…--></mjx-container></span>) like the following equation.
111
+
Lift(<codeclass="language-math math-inline"><mjx-containerclass="MathJax"jax="SVG"><!--…--></mjx-container></span>) can be determined by Lift Coefficient
112
+
(<codeclass="language-math math-inline"><mjx-containerclass="MathJax"jax="SVG"><!--…--></mjx-container></span>) like the following equation.
0 commit comments