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
@@ -2749,6 +2749,30 @@ Passing macros as rendering options and defining local ones currently result in
2749
2749
</section>
2750
2750
2751
2751
2752
+
### Chemical Formulas
2753
+
2754
+
--{{0}}--
2755
+
LiaScript now supports rendering chemical formulas using KaTeX!
2756
+
With this update, you can include chemical equations in your slides using the `mhchem` macros.
2757
+
2758
+
--{{1}}--
2759
+
To display chemical equations, simply wrap your formula using the `\ce{...}` command. For example:
2760
+
2761
+
{{1}}
2762
+
```latex
2763
+
$\ce{CO2 + C -> 2 CO}$
2764
+
```
2765
+
2766
+
--{{2}}--
2767
+
This will render as:
2768
+
2769
+
{{2}}
2770
+
$\ce{CO2 + C -> 2 CO}$
2771
+
2772
+
{{3}}
2773
+
> For further details on the syntax and additional features provided by `mhchem`, please refer to the [official mhchem documentation](https://mhchem.github.io/MathJax-mhchem/).
2774
+
2775
+
2752
2776
## Footnotes
2753
2777
2754
2778
--{{0}}--
@@ -6786,6 +6810,31 @@ Simply set `data-type="none"` to prevent any kind of visualization for the corre
6786
6810
| Item 13 | Item 14 |
6787
6811
```
6788
6812
6813
+
{{10}}
6814
+
*__`data-orientation`__:
6815
+
6816
+
Depending on the default setting for a diagram it is possible to switch between `vertical` and `horizontal` orientation.
6817
+
6818
+
```markdown
6819
+
<!-- data-orientation="horizontal" -->
6820
+
| Animal | weight in kg | Lifespan years | Mitogen |
0 commit comments