From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Janssen Subject: ox-md generates .html links to other org files. Date: Wed, 12 Feb 2014 20:52:31 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0149494cc8df2204f23ae92e Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45899) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDfrF-0005ix-Rp for emacs-orgmode@gnu.org; Wed, 12 Feb 2014 14:52:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDfrE-0007aQ-GH for emacs-orgmode@gnu.org; Wed, 12 Feb 2014 14:52:33 -0500 Received: from mail-oa0-x231.google.com ([2607:f8b0:4003:c02::231]:48498) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDfrE-0007Zw-Ab for emacs-orgmode@gnu.org; Wed, 12 Feb 2014 14:52:32 -0500 Received: by mail-oa0-f49.google.com with SMTP id i7so11405630oag.22 for ; Wed, 12 Feb 2014 11:52:31 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --089e0149494cc8df2204f23ae92e Content-Type: text/plain; charset=ISO-8859-1 When exporting org files to .md files using the ox-md.el backend, links like [[file:other-file.org]] are translated to other-file.html. I would expect this to be other-file.md instead. As it stands exporting multiple files to markdown doesn't allow easy interlinking between them. This can be worked around by defin-ing: +BEGIN_SRC :html-extension "md" +END_SRC in the exporting project. But I think this should be fixed in the =org-md-link= function. I am using the following versions GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601) of 2013-03-17 on MARVIN Org-mode version 8.2.5h (8.2.5h-19-g0ceb68-elpa @ c:/Users/a156712/.emacs.d/elpa/org-20140210/) Regards, Mark --089e0149494cc8df2204f23ae92e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
When exporting org files to .md files using the ox-md.el b= ackend, links like=A0
[[file:other-fi= le.org]] are translated to other-file.html.

I = would expect this to be other-file.md = instead. As it stands exporting multiple files to markdown doesn't allo= w easy interlinking between them.
This can be worked around by defin-ing:

+BEGI= N_SRC
:html-e= xtension "md"
+END_SRC

in the = exporting project. But I think this should be fixed in the =3Dorg-md-link= =3D function.

I am using the following versions

<= div>
GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601) of 2013-03-17 on MARVIN
Org-mode version 8.2.5h (8.2.5h-19-g0ceb68-elpa @ c:/Users/a156712= /.emacs.d/elpa/org-20140210/)

Regards,
Mark

--089e0149494cc8df2204f23ae92e--