[Link] shortcut

John Gruber gruber at fedora.net
Tue Mar 22 13:52:59 EST 2005


Michel Fortin <michel.fortin at michelf.com> wrote on 03/21/05 at 2:41pm:

> Hum, couldn't we do better? When finding `[this] [that]`, Markdown 
> checks if there is a label named "this". If such a label exists, 
> Markdown makes two links using the new syntax. So:
> 
>   Check out [this] [that] and [the other].
> 
>     [this]: this
>     [that]: that
>     [the other]: the_other
> 
> gives three links while:
> 
>   Check out [this] [that] and [the other].
> 
>     [that]: that
>     [the other]: the_other
> 
> give two links.

Yeah, we can probably smarten this up.

-J.G.


More information about the Markdown-Discuss mailing list