Title test
Here is a paragraph
with some unordered list:
- item 1
- item 2
But we can also create ordered lists:
- ordered 1
- ordered 2
Code blocks
1
2
3
my_str = "Hello "
my_str += "World!"
print(my_str)
1
2
a="test"
echo $a
1
2
3
$ env |grep SHELL
SHELL=/usr/local/bin/bash
PYENV_SHELL=bash
MathJax
\[a * b = c ^ b\] \[2^{\frac{n-1}{3}}\] \[\int_a^b f(x)\,dx.\] \[\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}\] \[f(n) = \begin{cases} n/2, & \text{if $n$ is even} \\ 3n+1, & \text{if $n$ is odd} \end{cases}\] \[\begin{pmatrix} a & b\\ c & d\\ \hline 1 & 0\\ 0 & 1 \end{pmatrix}\]Check here for a lot of examples.
Mermaid JS
Official website is great ! Plus there is a Live Editor
Flowcharts
flowchart LR
A[Hard edge] -->|Link text| B(Round edge)
B --> C{Decision}
C -->|One| D[Result one]
C -->|Two| E[Result two]
Sequence Diagram
sequenceDiagram
Alice->>John: Hello John, how are you?
John-->>Alice: Great!
Alice-)John: See you later!
State diagram
stateDiagram-v2
[*] --> Still
Still --> [*]
%% this is a comment
Still --> Moving
Moving --> Still %% another comment
Moving --> Crash
Crash --> [*]
Pie chart
pie showData
title Key elements in Product X
"Calcium" : 42.96
"Potassium" : 50.05
"Magnesium" : 10.01
"Iron" : 5