markdownifyToString
Parses a markdown string to a plain text string.
Signature
markdownifyToString(
markdown: string,
context?: Context,
placeholder?: string,
lineBreaks?: boolean,
features?: MarkdownFeatures
): string
Parameters
Name | Type | Optional | Description |
---|---|---|---|
markdown | string | No | Specifies the markdown text to parse. |
context | Context | Yes | Optional context for the parser. This context is used when referencing variables. |
placeholder | string | Yes | Specifies a string for empty variables (defaults to ___ ). |
lineBreaks | string | Yes | Specifies if line breaks are supported (defaults to false ). |
features | MarkdownFeatures | Yes | Specifies the features to parse (defaults to None ). |
Return value
Returns a plain text string where all markdown is removed/parsed.