Skip to content

๐Ÿ“– MkDocs

Anchors

#### Heading producing an anchor

#### Another heading {#custom-anchor-for-heading-using-attr-list}

<a id="raw-anchor"></a>

[](){#markdown-anchor-using-attr-list}

Heading producing an anchor

Another heading

Attribute Lists

[Hello, World!](#){: #someid .someclass somekey='some value' }

๐Ÿ”—

Dependency management

docs/requirements.txt
mkdocs==1.4.3
mkdocs-material==9.1.16
pip install --requirement docs/requirements.txt

Downloadable file

[:material-launch:](assets/example.json){: .md-button }
[:material-download:](assets/example.json){: .md-button download="example.json" }

Environment variables

mkdocs.yml
plugins:
  - foo-plugin:
      enabled: !ENV [CI, GITHUB_ACTIONS, False]

๐Ÿ”—

[Open :material-launch:](https://example.org){: target=_blank rel=noopener }

Result box

Say hello!
echo "Hello, World!"
Hello, World!