We can imagine marking up wiki-links with optional metadata.
> Note: an early suggestion. How should this be done?
How should such links be marked? These would not be backwardly compatible:
With something like this - the links would still work in an older client:
Cafe(dictionary) or [Cafe](concept)
With the idea that the first would be a type "dictionary" link and be formatted subtly, while the latter could be a visible link that we pull out and add to a concept graph?
# Yam Alternatively, links could be optionally typed by using a plugin that allows yam-like metadata to be added to the document. It could be added to the page-item's (new) metadata element of the page-json. The markdown could strip out the markup from say `Cafe(dictionary)` and leave `Cafe` into items text - adding the metadata to a tiny associative array in the items json.
Alternatively it could be added to the page-json level metadata and include a reference to the items id as well as the linked text value.
Either way code can now access the metadata and use it to draw graphs or format links.