SiMarkdownRendererComponent documentation¶
selector
si-markdown-rendererComponent to display markdown text, uses the getMarkdownRenderer function internally, relies on theme .markdown-renderer styles.
Input Properties¶
| Name | Type | Default | Description |
|---|---|---|---|
| text ¶ | string | '' | The markdown text to transform and display |
Types Documentation¶
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 | ||
|---|---|---|
|
Except where otherwise noted, content on this site is licensed under MIT License.