emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: The name attribute is obsolete. Consider putting an id attribute
Date: Sun, 19 Mar 2017 14:54:40 +0300	[thread overview]
Message-ID: <20170319115440.GD17180@protected.rcdrun.com> (raw)
In-Reply-To: <87lgs139d6.fsf@nicolasgoaziou.fr>

On Sun, Mar 19, 2017 at 10:26:45AM +0100, Nicolas Goaziou wrote:
> Hello,
> 
> Jean Louis <bugs@gnu.support> writes:
> 
> > I am exporting Org to Markdown, and when used with:
> >
> > <!DOCTYPE html>
> >
> > <h1>What is GNU CLISP?<a id="sec-1" name="sec-1"></a></h1>
> 
> This is not Markdown syntax. You should check the part of your process
> responsible for turning Markdown into HTML.
> 
> For the record, by default, Org uses "id" instead of "name" when it
> generates HTML. See `org-html-allow-name-attribute-in-anchors'.

Here below is the org file, and if I process it with:
emacs tmp/test.org --batch -f org-mode -f org-md-export-to-markdown

Then I get the file, where I can see the following line:
# What is GNU CLISP?<a id="sec-1" name="sec-1"></a>

And the option org-html-allow-name-attribute-in-anchors is off, and I
am not sure if it influences markdown export at all.

Do you know how to turn name= off in org-md-export-to-markdown ?

Jean

-------------- org file below ------------

#+TITLE: GNU CLISP is an ANSI Common Lisp Implementation

* What is GNU CLISP?

[[http://www.lisp.org][Common Lisp]] is a high-level, general-purpose, object-oriented,
dynamic, functional programming language. 

[[http://clisp.org][GNU CLISP]] is a Common Lisp implementation by [[http://www.haible.de/bruno/][Bruno Haible]], then of
Karlsruhe University, and [[http://www.faculty.iu-bremen.de/mstoll/][Michael Stoll]], then of Munich University,
both in Germany. It implements the language described in the [[http://www.lispworks.com/documentation/HyperSpec/Front/][ANSI
Common Lisp standard]] with many extensions.
* What is LISP?

LISP is a list-processing programming language, a flexible functional
programing language that manipulates symbols in the form of lists.

  reply	other threads:[~2017-03-19 12:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-18 13:04 The name attribute is obsolete. Consider putting an id attribute Jean Louis
2017-03-19  9:26 ` Nicolas Goaziou
2017-03-19 11:54   ` Jean Louis [this message]
2017-03-19 13:06     ` Nicolas Goaziou
2017-03-19 13:12       ` Jean Louis
2017-03-19 13:25         ` Nicolas Goaziou
2017-03-19 14:13           ` Jean Louis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170319115440.GD17180@protected.rcdrun.com \
    --to=bugs@gnu.support \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).