Markdown examples¶
Table of content (toc)¶
Just add [TOC] where you want the table of content. This will generate this:
Admonition (call-outs)¶
| Text Only | |
|---|---|
Title goes here
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla et euismod nulla. Curabitur feugiat, tortor non consequat finibus, justo purus auctor massa, nec semper lorem quam in massa.
Captions¶
| Markdown | |
|---|---|
| Fruit | Amount |
|---|---|
| Apple | 20 |
| Peach | 10 |
Fruit Count
Definition lists¶
Lorem ipsum dolor sit amet
: Sed sagittis eleifend rutrum. Donec vitae suscipit est. Nullam tempus tellus non sem sollicitudin, quis rutrum leo facilisis.
Cras arcu libero
: Aliquam metus eros, pretium sed nulla venenatis, faucibus auctor ex. Proin ut eros sed sapien ullamcorper consequat. Nunc ligula ante.
Task lists¶
- Lorem ipsum dolor sit amet, consectetur adipiscing elit
- Vestibulum convallis sit amet nisi a tincidunt
- In hac habitasse platea dictumst
- In scelerisque nibh non dolor mollis congue sed et metus
- Praesent sed risus massa
- Aenean pretium efficitur erat, donec pharetra, ligula non scelerisque
Grids¶
-
Set up in 5 minutes
Install
mkdocs-materialwithpipand get up and running in minutes -
It's just Markdown
Focus on your content and generate a responsive and searchable static site
-
Made to measure
Change the colors, fonts, language, icons, logo and more with a few lines
-
Open Source, MIT
Material for MkDocs is licensed under MIT and available on [GitHub]
Tables¶
Depending on where you put : the text is aligned :--- = left, ---: = right or :---: = centered
| Markdown | |
|---|---|
| Method | Description |
|---|---|
GET |
Fetch resource |
PUT |
Update resource |
DELETE |
Delete resource |
Highlight text¶
| Markdown | |
|---|---|
- This was marked (highlight)
- This was inserted (underline)
This was deleted (strikethrough)- H2O
- ATA
Icons, Emojis¶
Following icon sets can be used: - Material Design - FontAwesome - Octicons - Simple Icons
Smartsymbols¶
(tm)= ™(c)= ©(r)= ®c/o= ℅+/-= ±-->= →<--= ←<-->= ↔=/== ≠1/4= ¼1st= 1st
Mermaid diagrams¶
| Markdown | |
|---|---|
| Text Only | |
|---|---|
Tabbed¶
| Markdown | |
|---|---|
Markdown content.
Multiple paragraphs.
More Markdown content.
- list item a
- list item b