From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou 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: Sun, 20 Sep 2015 23:01:06 +0200 Message-ID: <87k2rkajql.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40567) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zdlhp-0000o7-Va for emacs-orgmode@gnu.org; Sun, 20 Sep 2015 16:59:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zdlhp-00053f-67 for emacs-orgmode@gnu.org; Sun, 20 Sep 2015 16:59:29 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:49029) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zdlho-00052W-Vo for emacs-orgmode@gnu.org; Sun, 20 Sep 2015 16:59:29 -0400 In-Reply-To: ("Denis \=\?utf-8\?Q\?Bitouz\?\= \=\?utf-8\?Q\?\=C3\=A9\=22's\?\= message of "Sun, 20 Sep 2015 21:00:14 +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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Denis =?utf-8?Q?Bitouz=C3=A9?= Cc: emacs-orgmode@gnu.org Hello, dbitouze@wanadoo.fr (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

> > [...] >

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. Thank you. Regards, --=20 Nicolas Goaziou