Mkdocs-website
For full documentation visit mkdocs.org
List
Code Annotation Examples
Codeblocks 代码块
Some Code
goes here.
Plain codeblock 普通代码块
Code for a specific language 特定语言的代码
Some more code with the py
at the start:
With a title 带标题
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]
With line numbers 有行号
Highlighting lines 突出显示行
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]
Icons and Emojs