callouts: emit type as string attribute

This commit is contained in:
kbot
2026-07-06 22:11:33 -05:00
parent 974f60ffac
commit 189680f772

View File

@@ -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