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({ 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