Skip to content

Markdown

Markdown syntax

Title

# This is an H1
## This is an H2
###### This is an H6

Quote

This is the first level of quoting.

This is nested blockquote.

Back to the first level.

> This is the first level of quoting.
>
> > This is nested blockquote.
>
> Back to the first level.

Lists

  • Red
  • Green
  • Blue
*   Red
*   Green
*   Blue

For nested list * Red * Green * Blue

* Red 
    * Green
        * Blue

ordered list

  1. Bird
  2. McHale
  3. Parish

1.  Bird
2.  McHale
3.  Parish

Code Block

This is  code blocks

```
This is code blocks
```

We can choose which language is used in code block by adding it behind ```

``` C++
This is code blocks for C++
```

#include "stdio.h"

int main(int argc, char ** argv)  
{  
    printf("Hello world\n");  
    return 0;  
}  

This is an example inline link.

This link has no title attribute.

This is [an example](http://example.com/ "Title") inline link.

[This link](http://example.net/) has no title attribute.

Highlight

single asterisks

single underscores

double asterisks

double underscores

*single asterisks*

_single underscores_

**double asterisks**

__double underscores__

Highlight of a function

Use the printf() function.

Use the `printf()` function.

Table

left right mid
content content content
content content content

| left | right | mid |
| :-----| ----: | :----: |
| content | content | content |
| content | content | content |

Image

A simple one can be use like this

test

![test](./img/icon.png)

By using css format, we can change image size & image centering

<p align="center">
    <img src="./img/icon.png" width="30"/>  
</p>