semvec/pypi-packages huggingface dataset:
mark2tg 1.0.2
Robust Markdown → Telegram MarkdownV2 converter
License: MIT
Requires Python: >=3.9
Keywords: telegram, markdown, markdownv2, bot, converter

# Mark2TG

> Robust Markdown → Telegram MarkdownV2 converter.  
> Safe escaping, optional 4096-split, readable table rendering.

[![PyPI](https://img.shields.io/pypi/v/mark2tg.svg)](https://pypi.org/project/mark2tg/)
[![Python](https://img.shields.io/pypi/pyversions/mark2tg.svg)](https://pypi.org/project/mark2tg/)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
[![CI](https://github.com/livlev/Mark2TG/actions/workflows/ci.yml/badge.svg)](https://github.com/livlev/Mark2TG/actions/workflows/ci.yml)

---

## 🔍 Overview

`Mark2TG` converts standard **Markdown** into **Telegram MarkdownV2**, preserving formatting and escaping symbols that Telegram treats as control characters.  

It aims to be minimal, predictable, and compatible with official Telegram API limits.

---

## ✨ Features

- Correct escaping for all Telegram MarkdownV2 special characters  
- Optional message splitting at 4096 characters  
- Safe handling of links, code, and inline entities  
- Table rendering using monospaced text  
- CLI tool (`mark2tg`) for terminal use  
- Works with any bot or API wrapper (e.g. `aiogram`, `python-telegram-bot`)

---

## ⚙️ Installation

```bash
pip install mark2tg
pons 0.11.0
Async RPC client for Ethereum
License: MIT
Requires Python: >=3.10

Async RPC client for Ethereum
-----------------------------

[![pypi package][pypi-image]][pypi-link] ![License][pypi-license-image] [![Docs][rtd-image]][rtd-link] [![Coverage][cov-image]][cov-link] [![Code style: black][black-image]][black-link]

An experimental client for those who think that [`web3`](https://github.com/ethereum/web3.py) grew too unwieldy, and also wants [`trio`](https://github.com/python-trio/trio) support.

For more information see [the documentation](https://pons.readthedocs.io/en/latest/).


[pypi-image]: https://img.shields.io/pypi/v/pons
[pypi-link]: https://pypi.org/project/pons/
[pypi-license-image]: https://img.shields.io/pypi/l/pons
[rtd-image]: https://readthedocs.org/projects/pons/badge/?version=latest
[rtd-link]: https://pons.readthedocs.io/en/latest/
[cov-image]: https://codecov.io/gh/fjarri-eth/pons/branch/master/graph/badge.svg?token=RZP1LK1HB2
[cov-link]: https://codecov.io/gh/fjarri-eth/pons
[black-image]: https://img.shields.io/badge/code%20style-black-000000.svg
[black-link]: https://github.com/psf/black