Skip to main content

markdownifyToString

Parses a markdown string to a plain text string.

Signature

markdownifyToString(
markdown: string,
features?: MarkdownFeatures,
placeholder?: string
): string

Parameters

NameTypeOptionalDescription
markdownstringNoSpecifies the markdown text to parse.
featuresMarkdownFeaturesYesSpecifies the features to parse (defaults to All).
placeholderstringYesSpecifies a string for empty variables (defaults to ___).

Return value

Returns a plain text string where all markdown is removed/parsed.