跳转至

Page test

Another heading

Some text

codeblocks

Some code goes here

plain codeblock

A plain codeblock:

Some code here
def myfunction()
// some comment

code for a specific language

some more code with the py at the start:

bubble_sort.py
import tensorflow as tf
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]

code with line numbers

1
2
3
4
5
6
import tensorflow as tf
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]

highlighting lines

import tensorflow as tf
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]

Read anch link

* Sed sagittis eleifend rutrum
* Donec vitae suscipit est
* Nulla tempor lobortis orci
1. Sed sagittis eleifend rutrum
2. Donec vitae suscipit est
3. Nulla tempor lobortis orci

Note

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

如何在Markdown里面画这样的表格:
普通表头 斜体表头而且居右 表头横向合并单元格
左边也可以有表头 涂个颜色 高亮文本但不全高亮 有时候加粗有时候斜体
表头不一定是一整行或者一整列的 纵向合并单元格要注意
下一行少一个单元格
字太多必要时我会换行
单元格也可以从两个方向合并
简单做个居左