md2

package
v1.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package md2 provides utils for working with telegram's MarkdownV2 texts

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EscapeText

func EscapeText(value string) string

EscapeText replaces unsafe md2 entries with slash-escaped values

Generally useful for telegram bot api payloads, where escaping is required when using MarkdownV2 parse mode.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL