Skip to main content
Version: Next

SafeMarkdown

The SafeMarkdown component from Superset's UI library.

Live Example

Loading component...

Try It

Edit the code below to experiment with the component:

Live Editor
function Demo() {
  return (
    <SafeMarkdown
      htmlSanitization
    />
  );
}
Result
Loading...

Props

PropTypeDefaultDescription
htmlSanitizationbooleantrueEnable HTML sanitization (recommended for user input)

Import

import { SafeMarkdown } from '@superset/components';

Improve this page

This documentation is auto-generated from the component's Storybook story. Help improve it by editing the story file.