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

Obsidian: Remove underscores in filenames and directories #8

Open
sojusnik opened this issue Aug 9, 2023 · 0 comments
Open

Obsidian: Remove underscores in filenames and directories #8

sojusnik opened this issue Aug 9, 2023 · 0 comments

Comments

@sojusnik
Copy link

sojusnik commented Aug 9, 2023

If a Zim filename or a directory has a space between words, then currently after conversion with this script the space will be replaced with an underscore. This makes the note titles ugly, same goes for directories. I assume this was done to avoid problems with linking.

Those underscores aren't necessary, because when using Wikilink style linking, those space are taken into account.

This is how a proper an internal Wikilink style link looks in Obsidian:
I'm linking to a [[a category with spaces/a note with spaces|note]] with several spaces

But in Markdown style links, spaces must be replaced with %20, as described here:
I'm linking to a [note](a%20category%20with%20spaces/a%20note%20with%20spaces.md) with several spaces

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

1 participant