emacs-orgmode
[Top][All Lists]
Advanced

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

Q: ox-md does not translate link searches to #bookmarks in markdown [9.4


From: Phil Marneweck
Subject: Q: ox-md does not translate link searches to #bookmarks in markdown [9.4.4 (release_9.4.4 @ /snap/emacs/current/usr/share/emacs/27.2/lisp/org/)]
Date: Tue, 11 May 2021 17:26:13 +0200

Hi

Is this by design? 

I expected to following

[[file:some-file.org::#some-heading][some text]] 

to translate to this

[some text](some-file.md#some-heading)

So in org-md-link I would have thought that the default would be more like this

(t (if (not desc) (format "<%s>" path)
 (format "[%s](%s%s)" desc path (or (org-element-property :search-option link) ""))))

You would of course have to do some sanity checking on search-option to just take care of id versus headline searches etc.

Regards
Phil

reply via email to

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