How to Write Markdown Documents

Headings

Use # marks at the beginning, with a space in between, corresponding to h1-h6

Note: Search functionality only applies to first through third-level headings (h1-h3)

First-Level Heading

There should be one and only one

# Text

Second-Level Heading

## Text

Third-Level Heading

### Text

Fourth-Level Heading

#### Text

Fifth-Level Heading

##### Text

Sixth-Level Heading

###### Text

Bold and Italic

You can use * or _ as marks to make text bold or italic

Bold

Use ** or __ as marks, appearing in pairs

Example

**Your text** : Your text

__Your text__ : Your text

Italic

Use * or _ as marks, appearing in pairs

Example

*Your text* : Your text

_Your text_ : Your text

Bold Italic

Use *** or ___ as marks, appearing in pairs

Example

***Your text*** : Your text

___Your text___ : Your text

Lists

Ordered Lists

Use 1. as marks, with English punctuation

This is an ordered list
  1. Test
  2. Test :::

Unordered Lists

Can use -, +, * to write unordered lists

::: tip Example - Test, +, * are all the same

  • Test

  • Test

Quotes

Use > marks at the beginning, can be nested

Example

This is a quote 1

This is a quote 2

This is a quote 3

Quotes can be used in lists

Code Blocks

Inline code blocks can use "`" marks, appearing in pairs

Test text

Multi-line wrapped code blocks use " ```javascript/php/typescript... " to wrap, appearing in pairs, with language annotation after the opening mark

const txt = 'test';

Add hyperlinks to pages using [text](address) or directly using address <address>

Example

[text](address): Baidu

<address>: https://www.baidu.com

Images

Add images to pages using ![text description](address)

Example

![test address](http://bbs.cnlinfo.net/up/tou/150611164743.jpg):test address

Tables

Quickly embed tables

| Header | Header | | ---- | ---- | // Can use alignment, :- left align, -: right align, :-:
center align | Cell | Cell | | Cell | Cell |

::: tip Example

HeaderHeader
CellCell
CellCell
:::
Total visits  times     Total visitors  times     Total reading  times.   Powered by Tego Team