create-slidev 0.49.12 → 0.49.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/template/package.json +2 -2
- package/template/slides.md +8 -14
package/package.json
CHANGED
package/template/package.json
CHANGED
package/template/slides.md
CHANGED
|
@@ -456,28 +456,22 @@ const final = {
|
|
|
456
456
|
|
|
457
457
|
# LaTeX
|
|
458
458
|
|
|
459
|
-
LaTeX is supported out-of-box
|
|
459
|
+
LaTeX is supported out-of-box. Powered by [KaTeX](https://katex.org/).
|
|
460
460
|
|
|
461
|
-
<
|
|
461
|
+
<div h-3 />
|
|
462
462
|
|
|
463
463
|
Inline $\sqrt{3x-1}+(1+x)^2$
|
|
464
464
|
|
|
465
465
|
Block
|
|
466
466
|
$$ {1|3|all}
|
|
467
|
-
\begin{
|
|
468
|
-
|
|
469
|
-
\nabla \
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
\
|
|
473
|
-
|
|
474
|
-
\nabla \cdot \vec{\mathbf{B}} & = 0
|
|
475
|
-
|
|
476
|
-
\end{array}
|
|
467
|
+
\begin{aligned}
|
|
468
|
+
\nabla \cdot \vec{E} &= \frac{\rho}{\varepsilon_0} \\
|
|
469
|
+
\nabla \cdot \vec{B} &= 0 \\
|
|
470
|
+
\nabla \times \vec{E} &= -\frac{\partial\vec{B}}{\partial t} \\
|
|
471
|
+
\nabla \times \vec{B} &= \mu_0\vec{J} + \mu_0\varepsilon_0\frac{\partial\vec{E}}{\partial t}
|
|
472
|
+
\end{aligned}
|
|
477
473
|
$$
|
|
478
474
|
|
|
479
|
-
<br>
|
|
480
|
-
|
|
481
475
|
[Learn more](https://sli.dev/guide/syntax#latex)
|
|
482
476
|
|
|
483
477
|
---
|