Skip to content

About the installed features#

The configuration of this project allows the use of the following elements.

Please refer to the official documentation of mkdocs-material for more information or any changes to the settings.


Admonitions#

The configuration of this project allows the admonitions, also known as call-outs.

Here are some examples (for more information, please refer to the official documentation of mkdocs-material).

Warning

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.

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.

Lorem ipsum

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.


Buttons#

The configuration of this project allows to add attributes to all inline- and block-level elements with a simple syntax, turning any link into a button.

Here are some examples (for more information, please refer to the official documentation of mkdocs-material).

Subscribe to our newsletter Subscribe to our newsletter Send


Code blocks#

This configuration enables syntax highlighting on code blocks and inline code blocks, and allows to include source code directly from other files.

Here are some examples (for more information, please refer to the official documentation of mkdocs-material).

``` py title="example with highlighting lines" hl_lines="2 3"
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]
```
example with highlighting lines
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]
``` py title="example with annotation"
def my_method(self):
    return self # (1)
```

1.  :man_raising_hand: I'm a code annotation! I can contain `code`, __formatted text__, images, ... basically anything that can be written in Markdown.
example with annotation
def my_method(self):
    return self # (1)
  1. 🙋‍♂️ I'm a code annotation! I can contain code, formatted text, images, ... basically anything that can be written in Markdown.
I'm an inline code blocks  `#!python range()` with a syntax highlighting.

I'm an inline code blocks range() with a syntax highlighting.


Content tabs#

This configuration enables content tabs, and allows to nest arbitrary content inside content tabs, including code blocks and ... more content tabs!

Here are some examples (for more information, please refer to the official documentation of mkdocs-material).

=== "C"

    ``` c
    #include <stdio.h>

    int main(void) {
    printf("Hello world!\n");
    return 0;
    }
    ```

=== "C++"

    ``` c++
    #include <iostream>

    int main(void) {
    std::cout << "Hello world!" << std::endl;
    return 0;
    }
    ```
#include <stdio.h>

int main(void) {
  printf("Hello world!\n");
  return 0;
}
#include <iostream>

int main(void) {
  std::cout << "Hello world!" << std::endl;
  return 0;
}

Diagrams#

This configuration enables native support for Mermaid.js diagrams.

Here are some examples (for more information, please refer to the official documentation of mkdocs-material).

``` mermaid
graph LR
A[Start] --> B{Error?};
B -->|Yes| C[Hmm...];
C --> D[Debug];
D --> B;
B ---->|No| E[Yay!];
```
graph LR
A[Start] --> B{Error?};
B -->|Yes| C[Hmm...];
C --> D[Debug];
D --> B;
B ---->|No| E[Yay!];

Formatting#

This configuration enables support for keyboard keys, tracking changes in documents, defining sub- and superscript and highlighting text.

Here are some examples (for more information, please refer to the official documentation of mkdocs-material).

```
++ctrl+alt+del++

```

Ctrl+Alt+Del

```
Text can be deleted and replacement text added. This can also be
combined into onea single operation. Highlighting is also
possible and comments can be added inline.



Formatting can also be applied to blocks by putting the opening and closing
tags on separate lines and adding new lines between the tags and the content.



```

Text can be deleted and replacement text added. This can also be combined into onea single operation. Highlighting is also possible and comments can be added inline.

Formatting can also be applied to blocks by putting the opening and closing tags on separate lines and adding new lines between the tags and the content.


Icons, Emojis#

This configuration enables the use of icons and emojis by using simple shortcodes which can be discovered through the icon search.

Here are some examples (for more information, please refer to the official documentation of mkdocs-material).

:smile: :fontawesome-regular-face-laugh-wink: :octicons-smiley-16:

😄


Images#

This configuration adds the ability to align images, add captions to images (rendering them as figures), and mark large images for lazy-loading. It also works for image zoom functionality.

Here are some examples (for more information, please refer to the official documentation of mkdocs-material) and mkdocs-glightbox.

Image title


Lists#

This configuration enables the use of definition lists and tasks lists, which are both not part of the standard Markdown syntax.

Here are some examples (for more information, please refer to the official documentation of mkdocs-material)

`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.

    Duis mollis est eget nibh volutpat, fermentum aliquet dui mollis.
    Nam vulputate tincidunt fringilla.
    Nullam dignissim ultrices urna non auctor.
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.

Duis mollis est eget nibh volutpat, fermentum aliquet dui mollis. Nam vulputate tincidunt fringilla. Nullam dignissim ultrices urna non auctor.

    - [x] Lorem ipsum dolor sit amet, consectetur adipiscing elit
    - [ ] Vestibulum convallis sit amet nisi a tincidunt
        * [x] In hac habitasse platea dictumst
        * [x] In scelerisque nibh non dolor mollis congue sed et metus
        * [ ] Praesent sed risus massa
    - [ ] Aenean pretium efficitur erat, donec pharetra, ligula non scelerisque
  • 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

 Progress bar#

This configuration enables support for progress/status bars.

Here are some examples (for more information, please refer to the official documentation of PyMdown)

```
[=0% "0%"]
[=5% "5%"]
[=25% "25%"]
[=45% "45%"]
[=65% "65%"]
[=85% "85%"]
[=100% "100%"]
```

0%

5%

25%

45%

65%

85%

100%

```
[=0%]{: .thin}
[=5%]{: .thin}
[=25%]{: .thin}
[=45%]{: .thin}
[=65%]{: .thin}
[=85%]{: .thin}
[=100%]{: .thin}
```