[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] custom link export and ox-md

From: John Peloquin
Subject: [O] custom link export and ox-md
Date: Sun, 23 Feb 2014 21:12:20 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0


I'm trying to define a custom link in org mode with custom export formatting, but I get unexpected results when exporting to markdown.

Minimal example:


(add-to-list 'load-path "~/.emacs.d/elpa/org-20140217")
(require 'org)
(add-to-list 'org-export-backends "md")

 "cite" nil
 (lambda (path desc format)
   (format "address@hidden" path)))


Some text [[cite:citekey]].

When I export `minimal.org` to markdown using C-c C-e m M, I get:

Some text <citekey>.

Whereas I expected:

Some text address@hidden

I tried this with a clean emacs configuration (`emacs -Q -l minimal-init.el`). `org-version` returns 8.2.5h, which as far as I know is the latest version. `emacs-version` is 24.3.1.

I do get the expected export result if I export to latex or html, so the link export definition in init.el does work. Am I doing something wrong? Is this a bug in ox-md?

Best regards,

John Peloquin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]