markdownifyToURL
Parses a markdown string to a valid URL.
Signature
markdownifyToURL(
markdown: string,
context?: Context,
placeholder?: string,
allowedDataMIMEs: string[]
): 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. |
allowedDataMIMEs | string[] | Yes | Specifies the MIMEs that are allowed as data URL. |
Return value
Returns the URL.