UNPKG

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.

18 lines (17 loc) 908 B
export class mdv2 extends mdv1 { static _underlined_name: string; static _underlined_regexp: RegExp; static to_mdv1(string: any): any; static bold(string: any, escape?: boolean): string; static italic(string: any, escape?: boolean): string; static underline(string: any, escape?: boolean): string; static strikethrough(string: any, escape?: boolean): string; static spoiler(string: any, escape?: boolean): string; static text_link(string: any, url: any, escape?: boolean): string; static text_mention(string: any, uid: any, escape?: boolean): string; static custom_emoji(string: any, eid: any, escape?: boolean): string; static code(string: any, escape?: boolean): string; static pre(string: any, language?: null, escape?: boolean): string; static blockquote(string: any, expandable: any, escape?: boolean): string; } import { mdv1 } from './mdv1.js';