-
-
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
Flexible links #312
Comments
As far as I can tell so far, unfortunately a lot of these still won't work with vimwiki because it will assume that the bit within the This proposal will still be an improvement, though, as far as rendering the markup on the web. |
Just reporting my test with piped links on Zettlr. It's not an integrated thing, but it kind of works because Zettlr basically just does a search for a match and shows you the relevant matches. Although now I'm testing it using different title words and the search is too broad to find the right match...so the title needs to have at least one matching word with the actual note. Similar with the advanced link syntax, it performs a search, but you would need to delete the query part (?cf) so it can find a match. You could technically still use piped links though, because you can delete anything past the ID if needed to find an exact match. But it's also a bit cumbersome... Otherwise I might just use MD links (using the filename rather than ID) because that actually works really well on Zettlr. Not sure how advanced linking syntax would work with that though. Stylistically I feel that it should be the same as a regular note link? If you're talking about how it appears on the web, that is. |
I like this! I'd prefer we used a more wiki-like syntax for special links. Here are three possibilities:
Those syntaxes can easily be extended to support inter-repo links, which we might want one day: I'm not sure what to do about the |
I for one would appreciate the ability to have links of the form [A note or description](title.md) as my current Zettelkasten is in this format. I find this format very portable as pretty much any markdown editor supports the format (on PC and on mobile). It would be awesome to be able to use Neuron without having to sacrifice portability due to the Neuron link format and it would help with future-proofing too. Seems like an awesome project! I hope to be able to try it out on my own Zettelkasten 🙂 |
I have realised that it's not too difficult to write a script to switch all Zettels back and forth between |
@Nadrieril I like the Wikipedia magic links (aren't they called templates?). Something like Some thoughts on cf links In retrospect I should have made
In the Wiki-style proposal, |
No comment on the rest at the moment, but I wanted to chime in and say I
totally agree about the default cf links.
--
Vinney Cavallo
Founder/Lead Developer, exnil.io
|
Use triple brackets to denote folgezettel links, eg: |
Seems like an elegant solution! I am actually leaning more towards MD-style links now Are there any cons anyone can see with that? I'm not sure how compatible it will be with other editors, and it still doesn't help with the cf problem... |
The down side of MD-style links is that you need to give it the title yourself. When you change the title of a zettel you would need to update all links and change all files. |
@hoschi Maybe I wrote it down wrong in my example. I would use MD-links to display a different title/appearance than the note's real title, so you are only changing what's displayed, not the actual title of the file. Example: But I agree that it shouldn't be the only option! (Also I tested this out, and it almost works, except when viewing it as a website because it needs to be .../filename.html instead of .../filename.md) |
|
This is great! Inter-op is already improved now with other wiki-like tools - and the Thanks! |
Regular markdown links ( Have we finalized on the |
@srid Does this mean that markdown links (with alt titles, as you exemplified above) cannot be branching links? |
@vcavallo Not sure what you mean by "alt titles". If you define a link like this |
Yep, that's exactly what I mean @srid. But do I have it right that the |
That's right. That's what is left to do for this issue -- see the checklist in issue description further above -- and I'd like to hear from folks using other Zettelkasten apps on the syntax proposed for it before it gets added to neuron. |
Moving what's left to #373 |
Proposal
I propose the following linking syntax (retaining the underlying link URI):
This does a couple of things:
[[..]]
style links the default.Advance linking syntax would look the same, except for the change in the 'wrapper' syntax:
Let's use this opportunity to also support regular Markdown links:
Something to think about:
Final Proposal and Progress
[[..]]
and[[[...]]]
instead of<..>
Wiki-style links #351[[ foo | a foo note ]]
[a foo note](foo.md)
The text was updated successfully, but these errors were encountered: