Skip to main content
Module

x/telegram_format/mod.ts>markdown.monospaceBlock

Format Telegram message texts with Markdown or HTML
Latest
function markdown.monospaceBlock
import { markdown } from "https://deno.land/x/telegram_format@v3.1.0/mod.ts";
const { monospaceBlock } = markdown;

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

Parameters

text: string
optional
programmingLanguage: string

Returns

string