Ticket #190 (closed enhancement: fixed)

Opened 3 years ago

Last modified 12 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 3 years 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 2 years 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 2 years 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 22 months ago by anonymous

  • milestone 2.10.0 deleted

Milestone 2.10.0 deleted

Changed 12 months ago by Fūzetsu

  • status changed from new to closed
  • resolution set to fixed

This has been in stable for months, closing.

Note: See TracTickets for help on using tickets.