-
-
Notifications
You must be signed in to change notification settings - Fork 150
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
Allow title as Zettel IDs #399
Comments
This adds a bit to the future-proof property. You can open the .md files on any computer, without neuron installed or the generated site available, and still be able to make sense of the plain-text note by reading it on its own. |
Perhaps neuron should provide such a refactoring tool ( |
Done, and documented at https://neuron.zettel.page/id.html - as well as deployed to Cerveau. |
I was going to suggest a rename tool a while ago but I thought some perl regex would do the job. But now I think a rename tool that keeps the previous name cached somewhere (in the own zettel attributes as an alias, for example) and then gets generated as a redirect link in the site's HTML. |
VScode gif demo of title ID in action: https://neuron.zettel.page/editor.html#vscode |
Allow arbitrary text in Zettel IDs, so that people can use title in place of some cryptic identifier. For example,
So we allow whitespace, as well as any other character (except
[
and]
) that can be used in filenames on macOS and Linux.A couple of changes will be needed on top of this:
Most_people_take_only_transient_notes.html
.Wouldn't this make the title "static"? Yes, but users can use a refactoring tool to "rename" (for eg: vscode-memo provides one) the references in one-click. Though, this would invalidate the previously published URLs. If that's important, then users should use random IDs along with a custom title in the note, which would still be supported. The documentation should mention this tradeoff clearly.
Parts
The text was updated successfully, but these errors were encountered: