We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8c6d28 commit 419c168Copy full SHA for 419c168
packages/rehype-d2/src/d2.ts
@@ -34,7 +34,7 @@ export async function d2(code: string, options: D2Options) {
34
const fs: Record<string, string> = options.shared
35
? { ...(await mGlob(options.shared)), index: code }
36
: { index: code };
37
- const result = await d2Instance.compile({ fs }, options);
+ const result = await d2Instance.compile({ fs, options });
38
39
let data;
40
if (options.graphFormat) {
0 commit comments