Skip to content

๐Ÿ“– Zensical (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' }

๐Ÿ”—

Downloadable file

[:lucide-external-link:](assets/example.json){: .md-button }
[:lucide-download:](assets/example.json){: .md-button download="example.json" }

Environment variables

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

Macros extension

๐Ÿ”— Declaring external YAML files

Variable Type Content
age int 30
city str 'New York'
grades dict english = 92, math = 95, science = 88
hobbies list ['reading', 'hiking', 'coding']
is_student bool False
name str 'John Doe'

Meta plugin

๐Ÿ”— Metadata for groups of pages

Variable Type Content
git_creation_date_localized str 'June 3, 2023'
git_creation_date_localized_hash str 'b4bafd889a455feb26e481f90d565eb0cee72b89'
git_creation_date_localized_raw_custom str '03. June 2023'
git_creation_date_localized_raw_date str 'June 3, 2023'
git_creation_date_localized_raw_datetime str 'June 3, 2023 13:53:39'
git_creation_date_localized_raw_datetime-timezone str 'June 3, 2023 13:53:39 UTC'
git_creation_date_localized_raw_iso_date str '2023-06-03'
git_creation_date_localized_raw_iso_datetime str '2023-06-03 13:53:39'
git_creation_date_localized_raw_timeago str ''
git_creation_date_localized_tag str ''
git_revision_date_localized str 'May 15, 2026'
git_revision_date_localized_hash str '4c394700ab2832339fe7490ea05ac7786abe4ea7'
git_revision_date_localized_raw_custom str '15. May 2026'
git_revision_date_localized_raw_date str 'May 15, 2026'
git_revision_date_localized_raw_datetime str 'May 15, 2026 09:46:46'
git_revision_date_localized_raw_datetime-timezone str 'May 15, 2026 09:46:46 UTC'
git_revision_date_localized_raw_iso_date str '2026-05-15'
git_revision_date_localized_raw_iso_datetime str '2026-05-15 09:46:46'
git_revision_date_localized_raw_timeago str ''
git_revision_date_localized_tag str ''
git_site_revision_date_localized str 'November 7, 2026'
git_site_revision_date_localized_hash str 'a8a254baad152e0b14400d92d4c464f27652ba0d'
git_site_revision_date_localized_raw_custom str '07. November 2026'
git_site_revision_date_localized_raw_date str 'November 7, 2026'
git_site_revision_date_localized_raw_datetime str 'November 7, 2026 14:29:08'
git_site_revision_date_localized_raw_datetime-timezone str 'November 7, 2026 14:29:08 UTC'
git_site_revision_date_localized_raw_iso_date str '2026-11-07'
git_site_revision_date_localized_raw_iso_datetime str '2026-11-07 14:29:08'
git_site_revision_date_localized_raw_timeago str ''
git_site_revision_date_localized_tag str ''
include_yaml dict sample = 'data/sample.yaml'
render_macros bool True
sample dict age = 30, city = 'New York', grades = {'english': 92, 'math': 95, 'science': 88}, hobbies = ['reading', 'hiking', 'coding'], is_student = False, name = 'John Doe'
title str '๐Ÿ“– Zensical'
[Open :lucide-external-link:](https://example.org){: target=_blank rel=noopener }

Result box

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