Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index-less folders are un-indented #429

Open
Alzarath opened this issue Dec 20, 2023 · 3 comments
Open

Index-less folders are un-indented #429

Alzarath opened this issue Dec 20, 2023 · 3 comments

Comments

@Alzarath
Copy link

Alzarath commented Dec 20, 2023

Problem: When a folder does not have an index.md or index.txt file, it fails to indent properly with the folder and the border color is white. Otherwise it functions normally.

Example in the file system:

starcraft-2/
├─ editor/
│  ├─ data/
│  │  ├─ channeled-spells
│  │  ├─ data-tokens
│  │  ├─ effects/

data has no index content file.

indexless-filesystem

Workaround: Include an index.md or index.txt file in the folder, empty or otherwise.

Expectation: I would expect the folder to behave as if it did have an empty content file.

It would also be nice if index.yaml applied to the folder without the content file. It currently does not.

@Alzarath
Copy link
Author

Alzarath commented Dec 20, 2023

I noticed the data folder isn't in the Frontend navigation, either. It occurs to me that the system uses .txt to store "pending" changes and .md to store "published" changes.

If I'm not misunderstanding, I think it would be best for the behavior to reflect as if there was an empty index.txt in the folder, with publishing resulting in the creation of an empty index.md file.

@trendschau
Copy link
Member

It occurs to me that the system uses .txt to store "pending" changes and .md to store "published" changes.

Yes exactly. There should be no folders without an index.txt file, they are created automatically when you create a folder in the interactive navigation.

From your descriptions, I guess you have some special workaround or you add content manually?

@Alzarath
Copy link
Author

Alzarath commented Jan 4, 2024

Yes, I add content manually. I do not rely exclusively on TypeMill to view and modify my notes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants