Skip to content
New to Sumi? Read the introduction.
Sumi
On this page

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

Tip

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

Esc
↵ to open ↑↓ to move Esc to close
Keyboard shortcuts
Ctrl K /
Open search and commands
t
Toggle dark mode
[ ]
Previous / next page
j k
Previous / next heading
?
Show this help