When I say 'markdown link metadata', I mean arbitrary metadata added to a link in a Markdown note. And I count 'images' as a subtype of links, so this applies to them as well.
I've been thinking about this for a long time, because I think it would enable a lot of interesting use-cases. This post is just me thinking out loud bout the possibilities; I'd like to know what y'all think.
So here is my overview, my ideas on how this could be used, and my questions.
Overview: From what I've seen in the wild, there are a few approaches of adding more info to the MD link. The most common ones were either adding more data to the URI part, like image width:

or link title
[Make URL shady](http://www.shadyurl.com/index.php?e=blank "some title here")
There are variations to both of the above. In Joplin, the 'title' works, but no variation of the image-resizing that I've tried does.
Another approach I've seen is like this:
[Make URL shady](http://www.shadyurl.com/index.php?e=blank){ additional things here }
With the contents/exact syntax of the curly braces wildly varying. This brace syntax is also often used to decorate the preceding element with css formatting info.
The latter syntax seems better to me, because it has less chance of breaking when you export the MD into a different application that does not support it. (For instance, the width-setting syntax just stops otherwise valid image link from rendering in Joplin.)
The curly-brace syntax also seems more flexible and could support arbitrary data. Either as a single value ({ spoiler }
), or perhaps as key-value pairs ({kind: parent}
).
First question: Do you know if someone already made/proposed a 'standard' version of attaching additional information/metadata to links?
What I imagine it would be great for: besides the obvious uses already mentioned, I think simply being able to attach arbitrary strings to links could be useful. @SeptemberHX already uses something similar to set image width and captions. And I think the various Graph plugins, or @ylc395's Note Link System could benefit by displaying a different 'category' of link.
An example: I make a note about the use of FTL travel in sci-fi literature. I add links to my notes on books A, B, and C. I also want to note that in books X, Y and Z there was no FTL, but the idea was nicely subverted, worked around, or whatever.
After that, when I switch to any of the linked notes (A, B, Z...) I can always see the FTL note in the backlinks; but at a glance I can't tell if I've linked from it because the note I'm looking at is a direct exaple (or a "is-a" relationship, if you will), or a counterexample, or a subversion, or just a random link with no deeper meaning implied.
If I could mark the links with data like, say, {kind: example}
or {kind: related}
or {kind: subverted}
, that is something that Backlinks could then show me. Or group by. Or a Graph plugin could link by different kinds (or colors) of arrows, for example.
Or it could be used to filter links/images based on their category/metadata...
What do you think? For me, Joplin has become a really powerful tool with its native features and many great plugins. This kind of functionality is what I currently miss the most and I think it could make my notes much better organized and powerful.
Haven't seen much discourse around this topic though, so I'm not sure if anybody else really needs this. (And yes, I know this wouldn't be quick and easy to implement.)
Or maybe there already is a solution, I just don't know about it, and could have spared myself a lot of writing? If so, post a link pls.