Skip to main content

Markdown-IT reader: A Plugin for Pelican

Build Status PyPI Version License

Reader plugin for Markdown-IT-py replacement

This is double-opinionated, in that it's opinionated using Markdown-IT and again because we add in some additions; in particular:

  • Tables
  • footnotes
  • Pygment-based syntax highlighting

Installation

This plugin can be installed via:

python -m pip install pelican-markdown-it-reader

Usage

There are currently no configuration items.

Once installed it takes over responsibility for reading the following file extensions:

  • md
  • markdown
  • mkd
  • mdown

By taking over link_open and image render rules, the plugin handles replacing the pelican link placeholders with appropriate href items which are then rendered to html.

Metadata

The reader parses a YAML frontmatter header delimited by --- (terminated by a line of --- or ...), for example:

---
title: My Post
date: 2021-06-11 10:00
category: server admin
tags:
  - apple
  - macintosh
---

Body text...

List-form values (such as tags) are supported, and FORMATTED_FIELDS (e.g. summary) are rendered through Markdown-IT as well. Because the reader handles YAML frontmatter itself, you do not need the pelican-yaml-metadata plugin; in fact you should remove it, since whichever reader registers last wins the Markdown extensions and yaml-metadata renders bodies with python-markdown (which, among other things, cannot render fenced code blocks nested inside lists).

Files without a --- header fall back to a simple key: value metadata parser for backwards compatibility.

Contributing

Contributions are welcome and much appreciated. Every little bit helps. You can contribute by improving the documentation, adding missing features, and fixing bugs. You can also help out by reviewing and commenting on existing issues.

To start contributing to this plugin, review the Contributing to Pelican documentation, beginning with the Contributing Code section.

Updating

We use dependabot for updating dependencies, conventional commits for commit messages, and github actions for release.

To generate a release:

  1. cz bump --dry-run [--increment patch] to verify changes
  2. cz bump [--increment patch] to finalize
  3. git push to send code and git push <tag> to send the tag (or the less-safe --tags)

License

This project is licensed under the MIT license.

Metadata

Release files for pelican-markdown-it-reader 3.0.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 pelican-markdown-it-reader 3.0.0
File Size Uploaded
pelican_markdown_it_reader-3.0.0.tar.gz 6.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pelican-markdown-it-reader 3.0.0
File Interpreter ABI Platform
pelican_markdown_it_reader-3.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.9 kB

Release files / pelican_markdown_it_reader-3.0.0.tar.gz

Download URL pelican_markdown_it_reader-3.0.0.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d7e35bf98d2bbe4207d1500e6ed58d2c54da7dc8d01e33d5c30218dd98a59f6e
BLAKE2b-256 checksum
How to use checksums
de800ac0c34ff701c77142c5c205c6088290c56ab569117dddea88db45a6b630
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 Jun 28, 2026.

Transparency log

Release files / pelican_markdown_it_reader-3.0.0-py3-none-any.whl

Download URL pelican_markdown_it_reader-3.0.0-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
59301656dfc1d653ea3e4eab99a92d85abd50597adbc583ac80f7fc75c387cc0
BLAKE2b-256 checksum
How to use checksums
5538054824e64ab21b5f60b07146ccb72d24bbda410eb762a4bf4bfff25d617c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 Jun 28, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

3.0.0 This release

2 release files

2.0.4

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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