跳到正文
Sumi 中文文档已上线,部分页面暂为英文。阅读 Sumi 介绍
Sumi
本页目录

本页还没有翻译,下面是 English 版本。

Tables#

Tables are standard GitHub-flavoured Markdown. Sumi gives them a frame, sticky headers and horizontal scrolling on narrow screens.

Command Purpose
mkdocs new Create a new project
mkdocs serve Start a live-reloading preview
mkdocs build Build the site
mkdocs gh-deploy Build and deploy to GitHub Pages

Captions#

| Plan | Price |
| --- | --- |
| Open source | Free |
{caption="Sumi is licensed under Apache 2.0."}
Sumi is licensed under Apache 2.0.
Plan Price
Open source Free

Variants#

Add one or more of these classes on the attribute line:

Class Effect
.wide Let the table use the full width of the content area
.compact Reduce cell padding for dense data
.striped Shade alternate rows
.center Centre all cells
{.compact .striped caption="Variants"}

Alignment#

Column alignment uses the standard colon syntax:

| Left | Centre | Right |
| :--- | :---: | ---: |
| a | b | 1.00 |
Left Centre Right
a b 1.00
longer text c 120.50

提示

For option and parameter references, use fields instead of a wide table.

Esc
↵ 打开 ↑↓ 移动 Esc 关闭
键盘快捷键
Ctrl K /
打开搜索与命令面板
t
切换深色模式
[ ]
上一页 / 下一页
j k
上一个 / 下一个标题
?
显示本帮助