3. Sample Commonmarkdown and MyST directives in Jupyter Notebook#
3.1. Images#
This is a sample image using the default standard inline image embedding method in markdown. Note that you cannot set the dimensions of the image using this method.

Now this is a sample image using MyST directive {image} for block-level images. You can specify the dimensions of the image using this method.
3.2. Math#
Here is an example of an inline TeX script using single dollar: \(\vert\lambda\rangle = \sum_{i=0}^{N-1} \alpha_{i}\vert i \rangle\).
Here is an example of a block of the same TeX script using double dollar:
Here is an example of a block of the same TeX script using \begin{align}\end{align} in amsmath:
And here is the same equation using MyST math directive {math}.
3.3. Other MyST Directives#
This is an example of an admonition in MyST. One example is the {note} admonition.
Note
This is a sample note for the reader.
Another type of admonition is the {tip} admonition.
Tip
This is an example of a tip to the reader.
Another important type of adminition is the {attention} admonition.
Attention
Attention to the reader.
There are more types of admonitions in MyST that you can use in writing your material.
For more detailed instructions, please refer to the official MyST online documentation.