mkdocs examples
Last updated
Was this helpful?
Last updated
Was this helpful?
This page includes a few neat tricks that you can do with mkdocs
. For a complete list of examples visit the .
```python linenums="1" 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]
=== "Tab Header"
=== "Another Tab Header"
=== "Windows"
=== "MacOS"
=== "Linux"
!!! tip You can use note
, abstract
, info
, tip
, success
, question
warning
, failure
, danger
, bug
, quote
or example
.
!!! note A note.
!!! abstract An abstract.
!!! info Some info.
!!! success A success.
!!! question A question.
!!! warning A warning.
!!! danger A danger.
!!! example A example.
!!! bug A bug.
!!! note 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.
In addition to the usual italics, and bold there is now support for:
==highlighted==
^^underlined^^
strike-through
OS or Application
Username
Password
Windows VM
Administrator
foo
Linux VM
root
bar
Yes, these work. :smiley: :+1:
Nunc eu odio eleifend, blandit leo a, volutpat sapien
Nunc eu odio eleifend, blandit leo a, volutpat sapien
{: .md-button .md-button--primary }
{: .md-button }
{: .md-button .md-button--primary }
{: align=right }