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

Inconsistant Wikilink Logic #259

Open
zcysxy opened this issue Mar 20, 2022 · 0 comments
Open

Inconsistant Wikilink Logic #259

zcysxy opened this issue Mar 20, 2022 · 0 comments

Comments

@zcysxy
Copy link

zcysxy commented Mar 20, 2022

When dealing with wikilinks, the logic is different for plain links and piped links. In wikilink.ts, spaces in the plain links are replaced with _s, while spaces in piped links preserve.

I recommend adding a setting for users to choose different slugify modes, like [[Hello World]] refers to Hello World.md, hello-world.md, or hello_world.md. Or just leave the linkText AS IS.

zcysxy added a commit to zcysxy/mume that referenced this issue Mar 20, 2022
A super simple fix for shd101wyy#259. Just leave the file name as is.
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