Markdown

The Markdown component can be used on any page.

Example image

4522aa3 markdown

Code samples

{
"tasticType": "commercetools/ui/content/markdown",
"name": "commercetools UI markdown",
"icon": "wrap_text",
"category": "Content",
"schema": [
{
"name": "Content",
"fields": [
{
"label": "Content",
"field": "markdown",
"type": "markdown",
"translatable": true,
"required": true
}
]
}
]
}
import Markdown from 'components/commercetools-ui/content/markdown';
const MarkdownTastic = ({ data }) => {
return <Markdown text={data.markdown} />;
};
export default MarkdownTastic;