Feature #1856
open
Link syntax is inconsistent
Added by Jim Jones about 16 years ago.
Updated about 16 years ago.
Description
A wiki link goes like this:
![[TargetPage|Label]]
An external link goes like this:
!"Label":http://www.example.com
Having two different syntaxes is bad. Having the ordering reversed in one of them is worse.
I propose the following fix:
- Make the [[]]-syntax support external links, so we can write:
[[http://foobar.com|Label]] (note: i found no way to protect the link from parsing)
This would be backwards compatible (the old syntax doesn't need to change or go away).
unfortunatly, Textile has been designed for general use for web content, therefore only handle external links.
"Label":http://www.example.com
is the official Textile markup syntax, and FWIW I find it absolutly terrible. But this is the Textile syntax and changing it would make redmine not follow the official textile markup.
Paul Rivier wrote:
unfortunatly, Textile has been designed for general use for web content, therefore only handle external links.
[...]
is the official Textile markup syntax, and FWIW I find it absolutly terrible. But this is the Textile syntax and changing it would make redmine not follow the official textile markup.
Well, as said, let's keep the textile syntax but provide ![[http://foobar.com|Label]] in addition to that.
That way we can have consistency and backwards compatibility. :)
- Tracker changed from Defect to Feature
Also available in: Atom
PDF