teleform
Version:
Format Telegram messages, escape special characters, switch formatting styles, convert special entities to formatted text and vice versa, form Telegram links, use Unicode symbols.
15 lines (14 loc) • 525 B
TypeScript
export class mdv1 extends format {
static _to_escape: string[];
static _regexp: RegExp;
static to_mdv2(string: any): any;
static to_md(string: any): any;
static to_html(string: any): any;
static bold(string: any): string;
static italic(string: any): string;
static text_link(string: any, url: any): string;
static text_mention(string: any, uid: any): string;
static code(string: any): string;
static pre(string: any, language: any): string;
}
import { format } from './format.js';