Waffles
© 2021 DataCamp, Inc.

components

Markdown

A component to render markdown.

Overview

A component to render markdown using the styles of this design system. Note this is an initial version of this component and so is limited in its functionality. This documentation is also minimal, so if you are intending to use this component, please contact the design system squad for assistance.

Live

Props

Markdown

NameValueDefaultDescription
classNamestringAdds a css className to the rendered element.
sourcestringRequiredThe markdown string to render.

Imports

You can import following components or utilities from this module:

import Markdown from '@datacamp/waffles-markdown';