markdown()
markdown(
text,options?):HTMLElement
Defined in: js-api/ui.ts:233
Renders markdown. Pass sanitize: true for untrusted text: scripts and event handlers do not run.
Example: https://public.datagrok.ai/js/samples/ui/components/markdown
Parameters
| Parameter | Type |
|---|---|
text | string |
options? | { sanitize?: boolean; } |
options.sanitize? | boolean |
Returns
HTMLElement