Skip to content

getMarkdownRenderer Type documentation

(sanitizer: DomSanitizer) => (text: string) => Node
Function
Returns a markdown renderer function which_ - Transforms markdown text into formatted HTML. - Returns a DOM node containing the formatted content.

Warning: The returned Node is inserted without additional sanitization. Input content is sanitized before processing.

@param: Angular DomSanitizer instance

Returns A function taking the markdown text to transform and returning a DOM div element containing the formatted HTML
Parameters
sanitizer: DomSanitizer

Types Documentation

No types to document for items on this page.


Except where otherwise noted, content on this site is licensed under MIT License.