Home HelloWorld Post
Post
Cancel

HelloWorld Post

Title test

Here is a paragraph with some unordered list:

  • item 1
  • item 2

But we can also create ordered lists:

  1. ordered 1
  2. 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

Check here for a lot of examples.

\[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}\]

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
This post is licensed under CC BY 4.0 by the author.
Recently Updated
Trending Tags
Contents

-

-

Trending Tags