From 189680f7724f31e8bb66b8e43d2914d170633ed2 Mon Sep 17 00:00:00 2001 From: kbot Date: Mon, 6 Jul 2026 22:11:33 -0500 Subject: [PATCH] callouts: emit type as string attribute --- lib/callout-directive.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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