Link syntax (was: definition lists?)

Thomas Nichols nichols7 at googlemail.com
Fri Nov 21 10:43:44 EST 2008


Tangentially, I notice that this post by Waylan uses a link syntax which
doesn't seem to be defined by
<http://daringfireball.net/projects/markdown/syntax#link> but seems to
work in some implementations at <http://babelmark.bobtfish.net/> - that is,

from the git repo [1]
instead of
from the git repo [1][]
or
from the [git repo] [1].

The link definition is then

[1]: http://gitorious.org/projects/python-markdown/repos/mainline



Which of the outputs generated at
<http://babelmark.bobtfish.net/?markdown=checkout+from+the+git+repo+[1]%0D%0Aat+commit+e968bbf+(on+Nov+6)%2C%0D%0A%0D%0A[1]%3A+http%3A%2F%2Fgitorious.org%2Fprojects%2Fpython-markdown%2Frepos%2Fmainline&src=1&dest=2>
(also available at <http://tinyurl.com/6hq7ut> in case the full URI gets
mashed) is considered 'expected'?

IIUC, what I'll refer to "Waylan's syntax" makes any text enclosed in
square brackets into a candidate for a link; the parser then searches
for a matching link definition. I'm undecided whether the simplicity of
this syntax offsets the risk of breaking existing documents. A link will
only be generated if a matching link definition is found, IIUC, so
perhaps this risk is acceptably low?

Please point me to a previous discussion if available, I couldn't find
one in the archives.

Regards,
Thomas.



Waylan Limberg wrote on 2008/11/14 20:37:

> It's in the works. We had a working solution last week, but then

> refactored the core this week, so I have to refactor the definition

> list stuff.

>

> If you want it right now, your free to checkout from the git repo [1]

> at commit e968bbf (on Nov 6), or wait a few more days for me to get

> the refactor done and have the latest and greatest.

>

> One thing is for sure, I will have something included in the next

> release which I anticipate happening soonish.

>

> [1]: http://gitorious.org/projects/python-markdown/repos/mainline

>

> On Fri, Nov 14, 2008 at 1:26 PM, Andreas Åkre Solberg

> <andreas.solberg at uninett.no> wrote:

>

>> Any way of writing definition lists?

>>

>> Andreas

>> _______________________________________________

>> Markdown-Discuss mailing list

>> Markdown-Discuss at six.pairlist.net

>> http://six.pairlist.net/mailman/listinfo/markdown-discuss

>>

>>

>>

>

>

>

>



More information about the Markdown-Discuss mailing list