๐ 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}
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 link in new tab¶
[Open :material-launch:](https://example.org){: target=_blank rel=noopener }
Result box¶
Say hello!
echo "Hello, World!"
Hello, World!