mdformat-plugin
An mdformat plugin for the pelican static site generator. Pelican is a static site generator and uses markdown with a couple of additions, namely skipping the K:V pairs at the start and the ability to reference:
- tag
- author
- category
- index
- filename
- static
- attach
Note that the {name} forms are supported, and the |name| forms are converted to the newer form,
as the pipe form has been deprecated.
Development
This package utilises flit as the build engine, and tox for test automation.
To install these development dependencies:
pip install tox
To run the tests:
tox
and with test coverage:
tox -e py311-cov
The easiest way to write tests, is to edit tests/fixtures.md
To run the code formatting and style checks:
tox -e py311-pre-commit
or directly
pip install pre-commit
pre-commit run --all
To run the pre-commit hook test:
tox -e py311-hook
Publish to PyPi
Either use flit directly:
pip install flit
flit publish
or trigger the GitHub Action job, by creating a release with a tag equal to the version, e.g. v0.0.1.
Metadata
Release files for mdformat-pelican 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mdformat_pelican-1.0.0.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mdformat_pelican-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.5 kB
Release files / mdformat_pelican-1.0.0.tar.gz
| Download URL | mdformat_pelican-1.0.0.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
db6aa62d3d07629a0314eca8d6ddd6f2f912f7da5f37b055050875cc9edd66a9
|
|
BLAKE2b-256 checksum How to use checksums |
c2afe3163eff9450cc85673eb8d60746ac27f2caa970eebc252fc64fea1df7b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Apr 28, 2026.
Transparency logRelease files / mdformat_pelican-1.0.0-py3-none-any.whl
| Download URL | mdformat_pelican-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5bd4a6c3226ae97678be447a537f6f96900b72f3d660e3149b5c2592fc4a82a0
|
|
BLAKE2b-256 checksum How to use checksums |
a183aa185a88b9623e67dfea6c21da91b1c58fba9e72cb70679c152eac8a2c23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Apr 28, 2026.
Transparency log