diff --git a/lib/callout-directive.js b/lib/callout-directive.js index 824794c..c693abe 100644 --- a/lib/callout-directive.js +++ b/lib/callout-directive.js @@ -26,7 +26,7 @@ export default function calloutDirective() { attrs.push({ type: 'mdxJsxAttribute', name: 'type', - value: { type: 'mdxFlowExpression', value: `"${name}"` }, + value: name, }); // Build children from node's children