Closed FrancescoSaverioZuppichini closed 6 months ago
Same here. Installed globally but no preview. I then install manually following this instruction, and it works, and it works in vs code.
A simple fix: copy package.json
to any folder with a markdown file. The extension works again. The two files can be generated by npm install @slidev/cli @slidev/theme-default
package.json
file content
{
"dependencies": {
"@slidev/cli": "^0.49.0-beta.3",
"@slidev/theme-default": "^0.25.0"
}
}
This is because Slidev cannot make sure it is a "Slidev Markdown" or a common markdown when there is no package.json
indicating this. A simpler workaround could be setting slidev.enabled
to true
in the workspace settings.
We've rewritten the VSCode extension for Slidev (https://github.com/slidevjs/slidev/pull/1557). Upgrading the VSCode extension to the latest (0.49.1
) can fix this issue.
Hi there :wave:
I've installed globally
Then the extension but I got this error
Thanks a lot 🤗
Fra