Skip to main content
Module

x/telegram_format/mod.ts

Format Telegram message texts with Markdown or HTML
Latest
import * as telegramFormat from "https://deno.land/x/telegram_format@v3.1.0/mod.ts";

Functions

Format the input text as blockquote

Format the input text bold

Escape the input text to be displayed as it is

Format the input text italic

Format the input text as monospace

Format the input text as a monospace block optionally with a programming language

Format the input text as spoiler

Strikethrough the input text

Create a custom Telegram Emoji.

Underline the input text

Create an url with a label text

Create a user mention with a label text

unsupported by Telegram. Use MarkdownV2 or HTML instead @deprecated

Format the input text bold

Escape the input text to be displayed as it is

Format the input text italic

Format the input text as monospace

Format the input text as a monospace block optionally with a programming language

unsupported by Telegram. Use MarkdownV2 or HTML instead @deprecated

unsupported by Telegram. Use MarkdownV2 or HTML instead @deprecated

unsupported by Telegram. Use MarkdownV2 or HTML instead @deprecated

unsupported by Telegram. Use MarkdownV2 or HTML instead @deprecated

Create an url with a label text

Create a user mention with a label text

Format the input text as blockquote

Format the input text bold

Escape the input text to be displayed as it is

Format the input text italic

Format the input text as monospace

Format the input text as a monospace block optionally with a programming language

Format the input text as spoiler

Strikethrough the input text

Create a custom Telegram Emoji.

Underline the input text

Create an url with a label text

Create a user mention with a label text

Interfaces

All exported formatters satisfy this interface