Skip to content

livlev/Mark2TG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mark2TG

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

PyPI Python License: MIT CI


🔍 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

pip install mark2tg

About

No description, website, or topics provided.

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages