vitepress icon indicating copy to clipboard operation
vitepress copied to clipboard

Build failed for md file name containing `#`

Open sharpchen opened this issue 1 year ago • 1 comments

Describe the bug

If build markdown files where names containing #, the build will fail.

Reproduction

See: https://stackblitz.com/edit/vite-p8gtbd?file=docs%2F.vitepress%2Fconfig.ts

If example#.md as an item in sidebar, build fails.

Expected behavior

Should have an error message on console to hint such naming problem if it's by design

System Info

...

Additional context

No response

Validations

sharpchen avatar Jan 23 '24 15:01 sharpchen

And md file named containing pattern like \[.*\] will lead to *.path.js missing in vitepress 1.1.0

sharpchen avatar Apr 13 '24 12:04 sharpchen