Use the number sign (#) followed by a blank space for notebook titles and section headings:
# for titles
## for major headings
### for subheadings
#### for 4th level subheadings
Bold text:
__string__
or **string**
Italic text:
_string_
or *string*
Underline:
++inserted text++
-> inserted text
Mark with yellow:
==this is rendered as marked text==
-> this is rendered as marked text
Subscript:
H~2~O
-> H2O
X~i~
-> Xi
X~ij~
-> Xij
Superscript:
X^2^
-> X2
e^(-1/X)^
-> e(-1/X)
Surround text with a grave accent (`) also called a back single quotation mark, for example:
Add line breaks by entering line space.
Sometimes markdown doesn’t make line breaks when you want them. To force a linebreak, use the following code:
<br>
Use the greater than sign (>) followed by a space, for example:
Text that will be indented when the Markdown is rendered.
Any subsequent text is indented until the next carriage return.
To create a circular bullet point, use one of the following methods. Each bullet point must be on its own line.
A hyphen (-) followed by one or two spaces, for example: - Bulleted item
A space, a hyphen (-) and a space, for example: - Bulleted item
An asterisk (*) followed by one or two spaces, for example: * Bulleted item
To create a sub bullet, press Tab before entering the bullet point using one of the methods described above. For example:
To create a numbered list, enter 1. followed by a space, for example:
For simplicity, you use 1. before each entry. The list will be numbered correctly when you run the cell.
To create a substep, press Tab before entering the numbered item, for example:
Add collapsed text if user wants to see more details.
<details> collapsed text here </details
>
Or use the following:
This is a collapsed text.
Surround mathematical symbols with a dollar sign ($
), for example:
$ mathematical symbols $
To include a math expression inline with your text, delimit the expression with a dollar symbol $
.
This sentence uses $
delimiters to show math inline:
To add a math expression as a block, start a new line and delimit the expression with two dollar symbols $$
.
$\left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)$$
Example2:
When $a \ne 0$, there are two solutions to $(ax^2 + bx + c = 0)$ and they are $$ x = {-b \pm \sqrt{b^2-4ac} \over 2a} $$
When , there are two solutions to and they are
We can create subscript and super script easily using math
Use this code for coloring the text:
<font color=blue|red|green|pink|yellow>start your text here</font>
start your text here
or,
<p style="color:green">your text here.</p>
Example: write your text here
Make this text green.
Not all markdown code works within a font tag, so review your colored text carefully!
Use one of the following <div>
tags to display text in a colored box.
The color of the box is determined by the alert type that you specify:
Blue boxes (alert-info)
This is a alert area.
HTML syntax
Yellow boxes (alert-warning)
This is a alert area.
Green boxes (alert-success)
This is a alert area.
Red boxes (alert-danger)
This is a alert area.

Use &# followed by the decimal or hex reference number for the shape.
Example: ►
For a list of reference numbers, see
https://www.w3schools.com/charsets/ref_utf_geometric.asp
use ***
or ---
To link to a section within your notebook, use the following code:
[Section title](#section-title)
For the text inside the parentheses, replace any spaces and special characters with a hyphen. For example, if your section is called 'Colored note boxes', you'd enter:
Colored note boxes
Alternatively, you can add an ID above the section:
<a id="section_ID"></a>
Important: Each ID in the notebook must be unique.
To link to a section that has an ID, use the following code:
[Section title](#section_ID)
Important: Test all internal links to ensure that they work.
To link to an external site, use the following code: