From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Denis_Bitouz=C3=A9?= Subject: Re: Bug: Custom id taken into account with html, but not with markdown, exports [8.3.1 (8.3.1-123-g823cad-elpa @ /home/bitouze/.emacs.d/elpa/org-20150914/)] Date: Mon, 21 Sep 2015 07:34:56 +0200 Message-ID: References: <87k2rkajql.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <87k2rkajql.fsf-Gpy5sJQTEQHwkn9pgDnJRVAUjnlXr6A1@public.gmane.org> (Nicolas Goaziou's message of "Sun, 20 Sep 2015 23:01:06 +0200") 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Le 20/09/15 =C3=A0 23h01, Nicolas Goaziou a =C3=A9= crit : > Hello, Hello, > dbitouze-39ZsbGIQGT5GWvitb5QawA@public.gmane.org (Denis Bitouz=C3=A9) writes: > >> When the following org mode file: >> >> #+begin_src org >> * Heading with custom id >> :PROPERTIES: >> :CUSTOM_ID: custom-id-heading >> :END: >> >> See [[#custom-id-heading][heading with custom id]]. >> #+end_src >> >> is exported to html, the org mode :CUSTOM_ID: "custom-id-heading" is an >> anchor (as html id attribute): >> >> #+begin_src html >> [...] >>

Table of Contents

>> >> [...] >>

> class=3D"section-number-2">1 Heading with custom id

>> [...] >> See heading with custom id. >> [...] >> #+end_src >> >> but, when exported to markdown, the org mode :CUSTOM_ID: >> "custom-id-heading" is not an anchor (and the link >> href=3D"#custom-id-heading" points nowhere): >> >> #+begin_src markdown >> [...] >>
>>

Table of Contents

>> >>
>> >> # Heading with custom id >> >> See heading with custom id (See section 1). >> #+end_src > > Both issues fixed. Thanks so much! BTW, do you agree with the other issue I reported: #+begin_src org - A [[/rootsite/somepage/][(relative) page]]. - A [[/rootsite/somepage][(relative) page]]. #+end_src is exported as: #+begin_src markdown - A [(relative) page](file:///rootsite/somepage/). - A [(relative) page](file:///rootsite/somepage). #+end_src whereas, IMHO, the expected behavior should be: #+begin_src markdown - A [(relative) page](/rootsite/somepage/). - A [(relative) page](/rootsite/somepage). #+end_src Anyway, thanks again! :) Regards. --=20 Denis