From MEC at stowers.org Thu Feb 4 17:08:52 2010 From: MEC at stowers.org (Cook, Malcolm) Date: Thu, 4 Feb 2010 16:08:52 -0600 Subject: markdown's reference links with the implicit name syntax - improvement suggestion?!? Message-ID: I like to use markdown's reference links with the implicit name syntax. It allows keeping a table of links seperate from the referencing link. However, what I don't like is that I have no way of (optionally) including the table of links in the markdown's output. For instance, in the example: I get 10 times more traffic from [Google][] than from [Yahoo][] or [MSN][]. [google]: http://google.com/ "Google" [yahoo]: http://search.yahoo.com/ "Yahoo Search" [msn]: http://search.msn.com/ "MSN Search" The hypertext it produces is fine, and includes the links as defined by the reference links. But I would like additionally to be able to have the table of links appears elsewhere in the html output. Is there some way of extending markdown in this direction. Perhaps a syntax like [][] would produce a table of links, and [][id1,id2] would produce the table for just links with ids of id1 or id2..... Malcolm Cook Stowers Institute for Medical Research - Bioinformatics Kansas City, Missouri USA From qaramazov at gmail.com Thu Feb 4 20:00:44 2010 From: qaramazov at gmail.com (Yuri Takhteyev) Date: Thu, 4 Feb 2010 20:00:44 -0500 Subject: markdown's reference links with the implicit name syntax - improvement suggestion?!? In-Reply-To: References: Message-ID: > Is there some way of extending markdown in this direction. It really depends on what you mean by "markdown". Historically, proposals for extending the reference implementations do not tend to go very far. Note that the last official release of Markdown.pl was in 2004... With alternative implementations, your chances are little bitter. Michel occasionally incorporates really promising suggestions into PHP Markdown Extra. (I am guessing it would need to be a lot more compelling.) We, of Python Markdown, tend to remind people who ask for new features that we offer an extension framework [1] that would allow you to change Python Markdown to do things like you suggest in a few dozen lines of code. - yuri [1]: http://www.freewisdom.org/projects/python-markdown/Writing_Extensions From MEC at stowers.org Fri Feb 5 09:16:18 2010 From: MEC at stowers.org (Cook, Malcolm) Date: Fri, 5 Feb 2010 08:16:18 -0600 Subject: markdown's reference links with the implicit name syntax - improvement suggestion?!? In-Reply-To: References: Message-ID: yuri - informative and splendid - thanks very much for the education - i've been using Markdown.pl and some apache directives to filter *.md files through it. I'll try the python version. Perhaps footnotes will be sufficient for my purposes.... --malcolm > -----Original Message----- > From: markdown-discuss-bounces at six.pairlist.net > [mailto:markdown-discuss-bounces at six.pairlist.net] On Behalf > Of Yuri Takhteyev > Sent: Thursday, February 04, 2010 7:01 PM > To: Discussion related to Markdown. > Subject: Re: markdown's reference links with the implicit > name syntax - improvement suggestion?!? > > > Is there some way of extending markdown in this direction. > > It really depends on what you mean by "markdown". > > Historically, proposals for extending the reference > implementations do not tend to go very far. Note that the > last official release of Markdown.pl was in 2004... With > alternative implementations, your chances are little bitter. > Michel occasionally incorporates really promising suggestions > into PHP Markdown Extra. (I am guessing it would need to be a > lot more compelling.) We, of Python Markdown, tend to remind > people who ask for new features that we offer an extension > framework [1] that would allow you to change Python Markdown > to do things like you suggest in a few dozen lines of code. > > - yuri > > [1]: > http://www.freewisdom.org/projects/python-markdown/Writing_Extensions > _______________________________________________ > Markdown-Discuss mailing list > Markdown-Discuss at six.pairlist.net > http://six.pairlist.net/mailman/listinfo/markdown-discuss >