callouts: emit type as string attribute
This commit is contained in:
@@ -26,7 +26,7 @@ export default function calloutDirective() {
|
|||||||
attrs.push({
|
attrs.push({
|
||||||
type: 'mdxJsxAttribute',
|
type: 'mdxJsxAttribute',
|
||||||
name: 'type',
|
name: 'type',
|
||||||
value: { type: 'mdxFlowExpression', value: `"${name}"` },
|
value: name,
|
||||||
});
|
});
|
||||||
|
|
||||||
// Build children from node's children
|
// Build children from node's children
|
||||||
|
|||||||
Reference in New Issue
Block a user