You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browser: not relevant, it fails event when building Firefox 128.0.2 (64-bit)
OS: NixOS 24.05.20240725.a1cc729 (Uakari) x86_64
If you are using Slidev globally (i.e. npx slidev or npm i -g slidev), please try to reproduce the issue in a local project (i.e. npm create slidev@latest).
It was really long and hard to isolate the problem, good luck with this one
The text was updated successfully, but these errors were encountered:
It seems that the vite.config.ts hasn't been run. Move the vite.config.ts to the subfolder (next to slides.md) can fix this. Let's keep this issue open so that we can improve the behavior of the detection of "user root".
Hi,
Describe the bug
Markdown-it plugin seems to not work when the
slides.md
file is in a subfolderMinimal reproduction
Steps to reproduce the behavior:
I did a minimal reproductible test repository https://gitlab.com/pinage404/slidev_bad_subfolder_behavior/-/commits/main/?ref_type=HEADS
having the
slides.md
file in a subfolderwith this content in the
slides.md
add markdown-it plugin
With [email protected], plugin works
With [email protected], the build works but the plugin seems ignored
With [email protected] (current latest), same behavior as 0.49.11
Alternative solution
Moving the
slides.md
in the root folder fix itAdditional context
I noticed the backward incompatibility on this slide (the corresponding code)
Environment
If you are using Slidev globally (i.e.npx slidev
ornpm i -g slidev
), please try to reproduce the issue in a local project (i.e.npm create slidev@latest
).It was really long and hard to isolate the problem, good luck with this one
The text was updated successfully, but these errors were encountered: