Skip to content

1. 简单

换行需要两个空格
emoji: 😄 😆 😵 😭 😰 😅 😢 😤 😍 ☺ 😎 😩 😓 😖 😳 😷 😇 😈 👿 😂 😨 😰 😭 😍 😅 😢 😭 😰 😅 😢 😭 😰 😅 😢 😭 😰 😅 😢 😭 😰 😅 😢 😭 😰 😅 😢 😭 😰 😅 😢 😭 😰 😅 😢 😭 😰 😅 😢 😭 😰 😅 😢


加重链接 MkDocs


2.数学公式

$$ \begin{equation} x = a_0 + \cfrac{1}{a_1 + \cfrac{1}{a_2 + \cfrac{1}{a_3 + \cfrac{1}{a_4} } } } \end{equation} $$ 行内公式 x = a_0 + \cfrac{1}{a_1 + \cfrac{1}{a_2 + \cfrac{1}{a_3 + \cfrac{1}{a_4} } } } 行内公式
矩阵乘法 A_{m\times n} \times B_{n\times p} = C_{m\times p}

代码

print("hello world")
print("hello world")
bubble_sort.py
def bubble_sort(items):
    for i in range(len(items)):
        for j in range(len(items) - 1 - i):
            if items[j] > items[j + 1]:
                items[j], items[j + 1] = items[j + 1], items[j]

1
2
3
4
5
6
def bubble_sort(items):
    for i in range(len(items)):
        for j in range(len(items) - 1 - i):
            if items[j] > items[j + 1]:
                items[j], items[j + 1] = items[j + 1], items[j]
    return items    
theme:
  features:
    - content.code.annotate # (1)
  1. 🙋‍♂️ I'm a code annotation! I can contain code, formatted text, images, ... basically anything that can be written in Markdown.

1
2
3
4
5
def bubble_sort(items):
    for i in range(len(items)):
        for j in range(len(items) - 1 - i):
            if items[j] > items[j + 1]:
                items[j], items[j + 1] = items[j + 1], items[j]
The range() function is used to generate a sequence of numbers.

表格

1 2 3
1 2 3
1 2 3

Example

This is an example of a blockquote.

* Sed sagittis eleifend rutrum
* Donec vitae suscipit est
* Nulla tempor lobortis orci

Note

This is an example of a blockquote.

* Sed sagittis eleifend rutrum
* Donec vitae suscipit est
* Nulla tempor lobortis orci

Warning

This is an example of a blockquote.

* Sed sagittis eleifend rutrum
* Donec vitae suscipit est
* Nulla tempor lobortis orci

Danger

This is an example of a blockquote.

* Sed sagittis eleifend rutrum
* Donec vitae suscipit est
* Nulla tempor lobortis orci

Bug

This is an example of a blockquote.

* Sed sagittis eleifend rutrum
* Donec vitae suscipit est
* Nulla tempor lobortis orci

Quote

This is an example of a blockquote.

* Sed sagittis eleifend rutrum
* Donec vitae suscipit est
* Nulla tempor lobortis orci

Success

This is an example of a blockquote.

* Sed sagittis eleifend rutrum
* Donec vitae suscipit est
* Nulla tempor lobortis orci

Faq

This is an example of a blockquote.

* Sed sagittis eleifend rutrum
* Donec vitae suscipit est
* Nulla tempor lobortis orci

Abstract

This is an example of a blockquote.

* Sed sagittis eleifend rutrum
* Donec vitae suscipit est
* Nulla tempor lobortis orci