An mdformat plugin for pelican markdown items
Project description
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mdformat_pelican-0.2.2.tar.gz.
File metadata
- Download URL: mdformat_pelican-0.2.2.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97d91e7ddebc5f0d91d74dd65fdccbae449cd8aa4fb3a73a80b73b0d354f6c4a
|
|
| MD5 |
e2ba05e2067ae0733ca72fef7711ed99
|
|
| BLAKE2b-256 |
389391b00e3a3d96db150a17945b910070aeaddf3b85874bb4261829f7dc4f05
|
Provenance
The following attestation bundles were made for mdformat_pelican-0.2.2.tar.gz:
Publisher:
tests.yml on gaige/mdformat-pelican
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mdformat_pelican-0.2.2.tar.gz -
Subject digest:
97d91e7ddebc5f0d91d74dd65fdccbae449cd8aa4fb3a73a80b73b0d354f6c4a - Sigstore transparency entry: 622055228
- Sigstore integration time:
-
Permalink:
gaige/mdformat-pelican@56be6b2ade6dc1190647e0c0c15dbec19a9eb72d -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/gaige
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
tests.yml@56be6b2ade6dc1190647e0c0c15dbec19a9eb72d -
Trigger Event:
push
-
Statement type:
File details
Details for the file mdformat_pelican-0.2.2-py3-none-any.whl.
File metadata
- Download URL: mdformat_pelican-0.2.2-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22f4c350e4b0917023e4311d93ccf808327f9c382fed1522e0bd197c05bf283e
|
|
| MD5 |
3316f6e86773e0667a728a458e8c079f
|
|
| BLAKE2b-256 |
237d1061cd208941577b28e4c31d1fe945a36fda56bb15c08aff28ecba1f7ba1
|
Provenance
The following attestation bundles were made for mdformat_pelican-0.2.2-py3-none-any.whl:
Publisher:
tests.yml on gaige/mdformat-pelican
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mdformat_pelican-0.2.2-py3-none-any.whl -
Subject digest:
22f4c350e4b0917023e4311d93ccf808327f9c382fed1522e0bd197c05bf283e - Sigstore transparency entry: 622055232
- Sigstore integration time:
-
Permalink:
gaige/mdformat-pelican@56be6b2ade6dc1190647e0c0c15dbec19a9eb72d -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/gaige
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
tests.yml@56be6b2ade6dc1190647e0c0c15dbec19a9eb72d -
Trigger Event:
push
-
Statement type: