On Jul 7, 2010, at 3:14 PM, mdipierro wrote:

> Right now you can do links with
> 
> url
> [[name url]]
> [[name #anchor]]
> [[name url#anchor]]
> [[name page:slug]]
> 
> and define an anchor with
> 
> [[anchor]]
> 
> If I understand your suggestions:
> 1) also allow
> [[url]]
> [[url#anchor]]
> [[#anchor]]
> [[page:slug]]
> to allow un-named links. Q: how can a link not have a name?

In your notation, I was thinking:

[[slug]] would imply [[slug page:slug]]

'slug' would be used verbatim as the name, and with slug-encoding as the slug.

A link would always have a name; it would just be implicit. That's the 
Mediawiki convention, though they use a vertical bar to separate an optional 
name from the slug.


> 
> 2) use [[=anchor]] to define an anchor to avoid conflict with 1.
> 
> if we do 1, we must do 2 but I would prefer [[!anchor]] then.

Sure.

Or [name:anchor], which corresponds to the html that it generates.

Reply via email to