function escMd
escMd(value: string): string

Escapes value for Markdown, so that user text in a plain-text part (a title with * or [, say) stays text.

Parameters

value: string

Return Type

string

Usage

import { escMd } from "api/mail/layout.ts";