We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71208ea commit 22b548dCopy full SHA for 22b548d
packages/layerchart/mdsvex.config.js
@@ -1,8 +1,11 @@
1
+import { fileURLToPath } from 'node:url';
2
+import { dirname } from 'node:path';
3
import slug from 'rehype-slug';
4
5
export default {
6
extensions: ['.md', '.svx'],
- layout: './src/lib/docs/Layout.svelte',
7
+ // https://github.com/pngwn/MDsveX/issues/556
8
+ layout: dirname(fileURLToPath(import.meta.url)) + '/src/lib/docs/Layout.svelte',
9
rehypePlugins: [slug],
10
// highlight: false
11
};
0 commit comments