quartz
quartz copied to clipboard
Quartz doesn't handle folders well whose names are the same as sibling files
Description
I'm not even totally sure that this is a bug. There are a couple of things here that don't work exactly how I'd expect, so I figured I'd file this and let the owner/maintainers decide. 🙂
To Reproduce Steps to reproduce the behavior:
- Under
quartz/content
, make a file calledrepro.md
and a folder namedrepro
. - Under the
repro
folder, add any note that you want (e.g.test.md
). - Build using Quartz (
npx quartz build
) - Open the resulting notebook in a browser
Expected behavior
I would expect the note created in step 2 to be visible in the Explorer view, but instead, only the repro
note is visible.
Also, it's strange to me that the repro
entry is both a note and a folder (see screenshot below).
Screenshots and Source
Screenshot of navigating to test/repro
:
Desktop (please complete the following information):
- Quartz Version:
4.1.4
-
node
Version:18.17.0
-
npm
version:9.6.7
- OS: macOS
- Browser: Chrome