emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* ox-md generates .html links to other org files.
@ 2014-02-12 19:52 Mark Janssen
  2014-02-14 16:30 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Janssen @ 2014-02-12 19:52 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 668 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1059 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ox-md generates .html links to other org files.
  2014-02-12 19:52 ox-md generates .html links to other org files Mark Janssen
@ 2014-02-14 16:30 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2014-02-14 16:30 UTC (permalink / raw)
  To: Mark Janssen; +Cc: emacs-orgmode

Hello,

Mark Janssen <mpc.janssen@gmail.com> writes:

> 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.

This should be fixed. Thank you.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-14 16:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-12 19:52 ox-md generates .html links to other org files Mark Janssen
2014-02-14 16:30 ` Nicolas Goaziou

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).