markdownifyToJSX
Parses a markdown string to JSX.
Signature
markdownifyToJSX(
md: string,
context?: Context,
lineBreaks?: boolean,
features?: MarkdownFeatures
): JSX.Element
Parameters
Name | Type | Optional | Description |
---|---|---|---|
md | string | No | Specifies the markdown string to parse. |
context | Context | Yes | Reference to the context. |
lineBreaks | string | Yes | Specifies if line breaks are supported (default is true ). |
features | MarkdownFeatures | Yes | Specifies the markdown features to parse. |
Return value
Returns a JSX.Element
with the parsed markdown.