[Pmwiki-users] Reflection on link syntax

John Rankin john.rankin
Wed Jun 30 17:55:29 CDT 2004


On Thursday, 1 July 2004 10:52 AM, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>On Wed, Jun 30, 2004 at 04:00:41PM -0600, Patrick R. Michaud wrote:

>Actually, the more I think about this, the more I think I like having
>both syntaxes available, as in
>
>   [[target | link text]]
>   [[text -> target]]
>
>The first is natural when one is thinking "link to target but use this
>other text", while the second is natural when is thinking "show this
>text, and link it to target".

Um, why not:

   [[target | link text]]
   [[link text target]]

>
>
>P.S.:  What about [[link text --link title-> target]], where "link title"
>provides the title attribute for the link?  :-)  The extra hyphens
>would be optional syntactic sugar.

Or [[link text --link title target]]

Just a thought...

-- 
JR
--
John Rankin





More information about the pmwiki-users mailing list