We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 66e4545 + 6d8dfe9 commit 70c21b3Copy full SHA for 70c21b3
src/index.js
@@ -90,7 +90,7 @@ function createPlugin() {
90
const possibleThemes = await getPossibleThemes(
91
theme,
92
await cache.get('themes'),
93
- path.dirname(markdownNode.fileAbsolutePath),
+ markdownNode.fileAbsolutePath ? path.dirname(markdownNode.fileAbsolutePath) : null,
94
markdownNode,
95
node,
96
languageName,
0 commit comments