publishmd
Prepare markdown content for publication with configurable processing pipeline.
Use Case 1. Transform an Obsidian vault into publication-ready content for a Quarto blog. Convert wikilinks, filter content, copy assets, and apply transformations to prepare your notes for publishing.
Installation
pip install publishmd
# With WebP image conversion support
pip install "publishmd[webp]"
Usage
publishmd -c _config.yml
publishmd -c _config.yml -i ./vault -o ./dist
Configuration
Create a YAML configuration file to specify the processing pipeline, e.g.:
# _config.yml
input_dir: vault
output_dir: dist
filters:
- name: published_only
type: publishmd.filters.frontmatter_filter.FrontmatterFilter
config:
publish: true
transformers:
- name: wikilinks
type: publishmd.transformers.wikilink_transformer.WikilinkTransformer
config:
preserve_aliases: true
link_extension: ".qmd"
- name: stale_links
type: publishmd.transformers.stale_links_transformer.StaleLinksTransformer
config:
convert_to_text: true
For the full configuration reference and all available filters/transformers, see the docs.
Development
pip install -e ".[dev]"
pytest
Metadata
Release files for publishmd 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| publishmd-1.0.3.tar.gz | 44.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| publishmd-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 80.4 kB
Release files / publishmd-1.0.3.tar.gz
| Download URL | publishmd-1.0.3.tar.gz |
|---|---|
| Size | 44.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9fc61ef61f75d42b9606096624b7e5e075eff5e33daebae97e6ca09caf273a85
|
|
BLAKE2b-256 checksum How to use checksums |
da09fe7a42196a748abbae12b307d66982352778fd0e2012ad82c941139916b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 14, 2026.
Transparency logRelease files / publishmd-1.0.3-py3-none-any.whl
| Download URL | publishmd-1.0.3-py3-none-any.whl |
|---|---|
| Size | 35.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
87ab2cc65b1e4dcafbe704f7fe7be383f4609713700c01ffffe178f2d3e80c63
|
|
BLAKE2b-256 checksum How to use checksums |
08c0d302627516e5eb86f7c0d73595b334c196145bdc2c8bfd2800ed8302ddea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 14, 2026.
Transparency log