Feature #1856
openLink syntax is inconsistent
0%
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).
Updated by Paul Rivier about 16 years ago
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.
Updated by Jim Jones about 16 years ago
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. :)
Updated by Jean-Philippe Lang about 16 years ago
- Tracker changed from Defect to Feature