Replies: 1 comment 5 replies
-
|
This has been brought up a few times. I'm strongly in favor of this. However, its potential is severely limited by our current Markdown infrastructure (#6370), and there are also other considerations here. Since you have thought a little deeper about the possible issues, I'd like to share with you how those are actually non-issues with our current setup. Our Markdown documents are loaded in three steps:
As you can see, the broken link detection is a core concern, and it doesn't actually use any plugin data—in its eyes, the Markdown links, However, there are two concerns here.
However, I clearly see the motivation, and I think it's valuable to have an immutable, file-structure-agnostic identifier for each document that's possibly cross-plugin as well: i.e. you can use the same |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description / Problem
There is a lot of value in having internal links. Right now there is the possibility to reference another page with
[my reference](../../reference/markdown.md). The downside of this is that this link might change in the future as of internal refactors and path changes. So in casemarkdown.mdmoves to a complete different directory it will break, as auto updating referencesIdea
What if internal linking could be as easy as giving and assigning IDs, where one page has an unique ID inside frontMatter, given manually (e.g.
linkId: myLinkingId), and in another document you can use this as path (e.g.[my reference]($myLinkingId)).I couldn't think of a different or better way of having these references.
Possible issues
Beta Was this translation helpful? Give feedback.
All reactions