Releases: livlev/Mark2TG
Releases · livlev/Mark2TG
Release list
Mark2TG 1.0.3 — Stable PyPI Release
Release Notes
Overview
First stable PyPI release of Mark2TG, a reliable converter from standard Markdown to Telegram MarkdownV2.
Ensures correct escaping of all special characters and adds developer-friendly utilities like a CLI, table rendering, and message splitting.
Added
- CLI tool:
mark2tg file.md [--max-len 4096 --split-policy word|para|hard] - Safe escaping for all MarkdownV2 symbols
- Optional message splitting (Telegram 4096-char limit)
- Monospaced table rendering
- Correct handling of inline code, quotes, and nested links
- Support for
parse_mode="MarkdownV2"anddisable_web_page_preview=True - Complete
README,CHANGELOG,setup.py, andpyproject.toml - GitHub Actions CI + Trusted Publishing to PyPI
Improved
- Version sync between GitHub and PyPI
- Added full project metadata and classifiers
- Expanded documentation with before/after examples and comparison table
Technical
- Python ≥ 3.9
- License: MIT
- Package:
[mark2tg](https://pypi.org/project/mark2tg/) - Automatic release publishing via GitHub Actions (
publish.yml)
Next Steps
- CommonMark compliance tests
- Property-based fuzz tests for escaping
- Benchmarks vs
telegramify-markdownandmd2tgmd - Example integrations with
aiogramandpython-telegram-bot
Install
pip install mark2tgv1.0.1
v1.0.0
Full Changelog: https://github.com/livlev/Mark2TG/commits/v1.0.0