[pmwiki-users] RFC: Link titles

Rogutės Sparnuotos rogutes at googlemail.com
Mon Oct 31 03:24:20 CDT 2011

John Rankin (2011-10-31 16:06):
> On 31/10/11 11:41 AM, Rogutės Sparnuotos wrote:
> >John Rankin (2011-10-31 09:30):
> >>>I agree.  [[Link|text|title]] is nicer in a vacuum, ...
> >>How would you write the equivalent of [[Link"title"]]? I'm not sure
> >>that [[Link|Link|title]] is "nicer". You couldn't write
> >>[[Link||title]] -- try [[Link|]] to see why.
> >For the arguments sake:
> >1. [[Link|]] works just fine: it creates<a href="...Link"></a>
> >2. [[Link||title]] would create<a href="...Link" title="title"></a>
> >
> Yes, that is exactly my point. The examples show why [[Link"title"]]
> is a better markup than [[Link|Link|title]], in my view. Link text
> and title text are independent data items, so we should not need to
> specify one in order to specify the other. The markup Petko proposes
> is in that sense better, as you can specify one, the other, or both.
> With the alternative proposal, you can specify link text without
> title text, but not vice versa.
> Sorry I wasn't clear.

No no, I was lacking the insight.

On the other hand, how useful is the empty link generated by [[Link|]]?
[[Link||title]] could be the same as [[Link]] (with added title). But
yeah, this markup just lost consistency points.

--  Rogutės Sparnuotos

More information about the pmwiki-users mailing list