Numeric Reference Links
jelks at jelks.nu
Wed Mar 31 20:47:10 EST 2004
Speaking of simple link syntax, one of the most (if not *the* most)
appealing things about Markdown is how "it's just like email". And the most
common way of expressing links in emails, aside from directly inline like
http://example.com, or block-indented like
is the numeric-reference link, where the links are usually listed
towards the bottom of the page.
It's too bad that the above, which is a 100% match with the email paradigm,
doesn't work directly, and probably couldn't work. (or could it?)
The MD-style colon after the bracketed reference ID isn't *that* much of a
jump from that paradigm. It could turn
This is a numeric-reference link.
`This is a numeric-reference <a
for about a 90% match. :) If this were adopted, you would have three types
of reference links:
This is [an example link][SomeID].
This is [an example link].
This is an example link.
[an example link]: http://example.com
It obviously could only make a link out of the word immediately preceding
the bracketed number[s]. And the same strictness would apply here as to the
implicit link styles -- no corresponding reference found, it's not a link
(like in the previous sentence).
And I'm not sure they should even be restricted to numbers; I only though of
it initially this way because that's the way they're normally done on email
Just thinking out loud ...
More information about the Markdown-discuss