Optional
children?: stringOptional
className?: stringClass name addon
Optional
disallowedElements?: string[]Array of elements to disallow in the markdown. Default is ['script', 'iframe']
Optional
newWindowLinks?: booleanFlag that specifies whether or not to open links in a new window. Default is true.
Optional
onError?: (error: Error) => voidError handler
Optional
url?: stringURL of the markdown file. If not provided, the children will be rendered as markdown.
Markdown content. If provided, the url will be ignored.