Skip to main content

Markus

GitHub-flavored Markdown with a small vocabulary for layout intent.

Markus keeps Markdown as the content language, then adds colon-fenced directives for the things GFM cannot say: this is a pull quote, these items are peer cards, these two views belong together. Authors encode meaning. The renderer turns that meaning into accessible HTML and responsive CSS — or, later, print, EPUB, or email.

Install

pip install anthus-markus

Python 3.10 or newer.

Convert a page

markus convert examples/getting-started.md -o page.html
markus validate examples/getting-started.md
markus ast examples/getting-started.md

Python API:

from markusmd import convert

html = convert(open("page.md", encoding="utf-8").read())

Directives

:::pull-quote{attribution="Engineering principle" tone="primary"}
The best system is often the one whose failure modes you can explain.
:::

:::feature-grid{columns=3}
:::feature-card{icon="bolt"}
## Low latency
Keep common interactions local.
:::
:::

The core vocabulary. The feature index documents every directive, with source and preview side by side.

Directive Intent
callout (note, warning, tip, caution) Status or editorial note
pull-quote Editorial quotation
card-grid / card Peer items
two-up / column A conceptual pair
figure Media with caption and credit
details Progressive disclosure
aside Supporting, non-linear material
metric A labeled fact (::metric{...})
example Markus source beside its rendered preview, for documentation

Unknown names and unknown attributes fail validation. That is intentional: Markus must not decay into an untyped CSS API. See docs/LANGUAGE.md for the full contract.

Demo site

anthusai.github.io/Markus/ — written in Markus and built by Papyrus.

To run the same site locally:

pip install -r docsite/requirements.txt
python docsite/build_site.py --out _site

Preview locally

markus preview examples/getting-started.md

Development

pip install -e ".[dev]"
behave          # Gherkin behavior specs
ruff check src features
python -m build

License

MIT © Anthus AI Solutions

Metadata

Release files for anthus-markus 0.10.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for anthus-markus 0.10.0
File Size Uploaded Provenance Actions
anthus_markus-0.10.0.tar.gz 244.6 kB With provenance Details for anthus_markus-0.10.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for anthus-markus 0.10.0
File Interpreter ABI Platform Actions
anthus_markus-0.10.0-py3-none-any.whl Python 3 none any Details for anthus_markus-0.10.0-py3-none-any.whl

Total release size: 314.2 kB

Release files / anthus_markus-0.10.0.tar.gz

Download URL anthus_markus-0.10.0.tar.gz
Size 244.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d1ca9e419c3aa906bfc786c0db0be66714beae01abeab0e0babd942a0c07ea21
BLAKE2b-256 checksum
How to use checksums
5f8588ccc652fc5fb51a3f69f0172bb32d83a5c8d362841d1a77018cd04a3be4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

Release files / anthus_markus-0.10.0-py3-none-any.whl

Download URL anthus_markus-0.10.0-py3-none-any.whl
Size 69.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
372ba15741d485a7b22a9f4f2ebe8569bac0112e9dc3f110eee7f938e0d77fba
BLAKE2b-256 checksum
How to use checksums
b7b71d6c345979caf0a03d7182ffd8ec10b4728b9a8afac936d8110fa00b1213
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

Security for anthus-markus 0.10.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for anthus_markus-0.10.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page