v0.4.0
Release Notes: v0.4.0
New Features
- Smart dash conversion: Converts
--to en-dash (–) and---to em-dash (—) in prose text. Preserves dashes inside fenced code blocks, inline code spans, thematic breaks, and frontmatter delimiters. Sequences of 4+ dashes are left unchanged. - GFM task list checkbox handling: The list item renderer now detects and preserves GFM-style task list checkboxes (
- [ ],- [x]) during tight/loose list formatting.
Improvements
- Dynamic versioning via hatchling (single source of truth in
__init__.py) - Migrated CI publish workflow from flit to hatchling/build+twine
Breaking Changes
None.
Install / Upgrade
pip install --upgrade mdformat-space-controlRecommended for Obsidian vault formatting:
pip install mdformat-space-control mdformat-frontmatter mdformat-gfm