MkDocs
python -m venv venv
source venv/bin/activate
pip --version
pip install mkdocs-material
mkdocs new .
mkdocs serve
Plugins
Emojis
References
Examples
Admonitions
Warning
All good, no worries.
Phasellus posuere in sem ut cursus
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.
Annotations
Lorem ipsum dolor sit amet, (1) consectetur adipiscing elit.
I'm an annotation! I can contain
code, formatted text, images, ... basically anything that can be expressed in Markdown.
Buttons
Subscribe to our newsletter Send
Code blocks
Customization
- Additional CSS in
docs/stylesheets/extra.cssto tweak a specific type of string. - Additional JavaScript in
docs/javascripts/tablesort.jsto make data tables sortable. - Pygments styles
- Pygments languages
Content tabs
Data tables
| Method | Description |
|---|---|
GET | Fetch resource |
PUT | Update resource |
DELETE | Delete resource |
Diagrams
Example-1:
graph TD
A[Hard] -->|Text| B(Round)
B --> C{Decision}
C -->|One| D[Result 1]
C -->|Two| E[Result 2] Example-2:
graph LR
A[Start] --> B{Error?};
B -->|Yes| C[Hmm...];
C --> D[Debug];
D --> B;
B ---->|No| E[Yay!]; Grids
- HTML for content and structure
- JavaScript for interactivity
- CSS for text running out of boxes
- Internet Explorer ... huh?
Icons and Emojis
Images
Blue clouds under white sky photo. Credit: CHUTTERSNAP
Lists
- item 1
- item B more text
- item a
- item b
- item 2
Tooltips