Numeric References again (was: The Ping Plan)

Jelks Cabaniss jelks at jelks.nu
Fri Apr 30 15:53:13 EDT 2004


John Gruber wrote:
> Aaron Swartz...:
>>     Foo bar baz.[1]
>> 
>>     [1]: http://lfw.org/
 
> What does he want this to produce? Something like:
> 
>     Foo bar baz.<a href="http://lfw.org/">1</a>

I can't speak for Aaron or his friend, but see this from last month ...

	http://tinyurl.com/ytj5v

For *numeric* references *only*, the preceding word (i.e., the word before
the square-bracketed number) becomes the link text.  

Personally, I would have written the source as 

	Foo bar baz[1].

which would end up as 

	Foo bar <a href="http://lfw.org/">baz</a>.

(note where the period ended up) instead of

	Foo bar <a href="http://lfw.org/">baz.</a>

from Aaron's quoted example...


/Jelks



More information about the Markdown-discuss mailing list