From mboxrd@z Thu Jan 1 00:00:00 1970 From: Austin Frank Subject: another org-export request regarding links Date: Fri, 19 May 2006 15:53:21 -0400 Message-ID: <446E2231.7070300@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FhB2H-0004N3-KX for emacs-orgmode@gnu.org; Fri, 19 May 2006 15:53:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FhB2F-0004KE-Tn for emacs-orgmode@gnu.org; Fri, 19 May 2006 15:53:20 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FhB2F-0004K7-NZ for emacs-orgmode@gnu.org; Fri, 19 May 2006 15:53:19 -0400 Received: from [128.151.80.2] (helo=cvs.rochester.edu) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FhB5d-0008GF-IX for emacs-orgmode@gnu.org; Fri, 19 May 2006 15:56:49 -0400 Received: from [192.168.82.242] (128.151.80.181) by cvs.rochester.edu with ESMTP (Eudora Internet Mail Server X 3.2.8) for ; Fri, 19 May 2006 15:54:13 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi again! Org-exort-as-ascii describes itself as being Markdown-like. I think that the ascii export is excellent and very readable, but I'd like to push for it to be just a little bit more Markdown-like. Markdown supports two ways of including links in a text file-- inline links and reference links. See the bottom of this note for examples of reference-style links in Markdown. It would be really nice if it were possible to export to reference-style links in org-export-as-ascii. Ideally, you could specify what level the link definitions appeared at: bottom of the current level of the outline, bottom of the top level of the outline, or bottom of the file. This is not a high-priority feature for me, just something that would be nice to have, and would in some cases make the ascii files exported from org easier to read. Thanks for considering it, /au All of the indented examples are from http://daringfireball.net/projects/markdown/syntax -- check there for more on Markdown: General example of inline links: This is [an example](http://example.com/ "Title") inline link. [This link](http://example.net/) has no title attribute. General example of reference links: This is [an example] [id] reference-style link. [id]: http://example.com/ "Optional Title Here" Inline links: I get 10 times more traffic from [Google](http://google.com/ "Google") than from [Yahoo](http://search.yahoo.com/ "Yahoo Search") or [MSN](http://search.msn.com/ "MSN Search"). Reference links with IDs: I get 10 times more traffic from [Google] [1] than from [Yahoo] [2] or [MSN] [3]. [1]: http://google.com/ "Google" [2]: http://search.yahoo.com/ "Yahoo Search" [3]: http://search.msn.com/ "MSN Search" Reference links without IDs: 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"