Test of myst-nb, myst-parser in md file#
Simple calculation#
1 + 1
2
Use of plotly package#
import IPython.display
import plotly.express
import plotly.io
fig = plotly.express.line(x=[1, 2, 3], y=[3, 5, 4])
IPython.display.HTML(
plotly.io.to_html(
fig,
full_html=False,
include_plotlyjs="cdn",
include_mathjax=False,
)
)
Math equations#
\[
\exp(i\pi) = -1
\]
An inline equation: \(\sqrt{2} = 1.414213562\)
\[\begin{split}
\begin{pmatrix} a & b \\ c & d \end{pmatrix}
\end{split}\]
\[
\|\bm{a}\|^2 + \|\bm{b}\|^2 = \|\bm{c}\|^2
\]
Directive#
Note
Test of note directive.