[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] The name attribute is obsolete. Consider putting an id attribute
From: |
Jean Louis |
Subject: |
Re: [O] The name attribute is obsolete. Consider putting an id attribute |
Date: |
Sun, 19 Mar 2017 14:54:40 +0300 |
On Sun, Mar 19, 2017 at 10:26:45AM +0100, Nicolas Goaziou wrote:
> Hello,
>
> Jean Louis <address@hidden> 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.