Ticket #190 (new enhancement)

Opened 18 months ago

Last modified 9 months ago

Extend the syntax of URL hyperlinks so that they can have link texts

Reported by: PHO Owned by:
Priority: minor Milestone:
Version: 2.9.2 Keywords: URL
Cc:

Description

There is currently no way to create URL hyperlinks having link texts, that is:

--| <http://example.net/>

renders to http://example.net/, but we can't create links that look like EXAMPLE. I need something like:

--| <http://example.net/ EXAMPLE>

Change History

Changed 18 months ago by SimonHengel

I think it would be nice to reuse some existing markup for that, e.g. Markdown's syntax for links:

[some link](http://example.net/)

Of course this has the disadvantage, that it could theoretically interfere with existing documentation. I'm not sure if that is a problem.

Changed 15 months ago by SimonHengel

Our current syntax for links is already valid Markdown (Automatic Links). So using Markdown syntax for named links would be consistent.

Changed 14 months ago by SimonHengel

Markdown syntax for named URLs conflicts with our syntax for definition lists. So I ended up using the following.

<http://example.net/ some link>

This is not the most beautiful thing, but it works (the code is on my dev branch).

If anybody has any better ideas, please raise your voice.

Changed 9 months ago by anonymous

  • milestone 2.10.0 deleted

Milestone 2.10.0 deleted

Note: See TracTickets for help on using tickets.