It is fairly common in large software projects to want to link to third party bugtrackers, wikis, and other tools. As an example, my "Infrastructure" project may have a Task filed against it that depends on an upstream Task in Phabricator which I want to mention in the summary or a comment. A large number of the external systems that you might want to link to will have URL formats that are reasonably constant apart from some short identifier for the item linked.
Currently I have to enter the full URL and to prettify it for my readers, enter some link text.
It would be nice if Remarkup could be configured with a list of external systems and URL patterns to automatically generate these links. I'm thinking something like https://github.com/make-all/AutoLink, except to avoid conflict with existing and future Remarkup, you probably want to use a more defined syntax rather than allowing a regexp to be used for the match.
Example:
Remarkup config
{
"external_uris": [
"P" : "https://secure.phabricator.com/{id}",
"Wiki" : "https://en.wikipedia.com/wiki/{id}"
]
}
Usage in Remarkup (markup is just an example I think won't conflict with anything already existing, but I haven't put much thought into it)
[(P:T11980)] implements [(Wiki:Links)]
Display in Remarkup:
[[https://secure.pahbricator.com/T11980|P:T11980]] implements [[https://en.wikipedia.com/wiki/Links|Wiki:Links]]