pre(str: Stringable,language?: string | undefined,): FormattableString
Format text as pre
. Cannot be combined with any other format.
str: Stringable
optional
language: string | undefined
pre(str: Stringable,language?: string | undefined,): FormattableString
Format text as pre
. Cannot be combined with any other format.
str: Stringable
language: string | undefined
Add Package
deno add jsr:@gramio/format
Import symbol
import { pre } from "@gramio/format";
---- OR ----
Import directly with a jsr specifier
import { pre } from "jsr:@gramio/format";
Add Package
npx jsr add @gramio/format
Import symbol
import { pre } from "@gramio/format";
Add Package
yarn dlx jsr add @gramio/format
Import symbol
import { pre } from "@gramio/format";
Add Package
pnpm dlx jsr add @gramio/format
Import symbol
import { pre } from "@gramio/format";
Add Package
bunx jsr add @gramio/format
Import symbol
import { pre } from "@gramio/format";