emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Austin Frank <austin.frank@gmail.com>
To: emacs-orgmode@gnu.org
Subject: another org-export request regarding links
Date: Fri, 19 May 2006 15:53:21 -0400	[thread overview]
Message-ID: <446E2231.7070300@gmail.com> (raw)

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"

             reply	other threads:[~2006-05-19 19:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-19 19:53 Austin Frank [this message]
2006-05-21  7:01 ` another org-export request regarding links Carsten Dominik
2006-05-21 15:02   ` Austin Frank

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=446E2231.7070300@gmail.com \
    --to=austin.frank@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).