emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Feature request: in org html export, option to disable id & class properties.
@ 2021-07-10  7:07 Zachary Kanfer
  2021-07-10  7:41 ` András Simonyi
  0 siblings, 1 reply; 10+ messages in thread
From: Zachary Kanfer @ 2021-07-10  7:07 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

When I export this sample org file:

    * top-level header
    ** and here we have #2

The body of the generated html has this content:

    <div id="content">
      <h1 class="title">top-level header</h1>
      <div id="outline-container-orgd9fc9e6" class="outline-2">
        <h2 id="orgd9fc9e6">and here we have #2</h2>
      </div>
    </div>

I would prefer the html to not have these id or class properties; something
like this:

    <div>
      <h1>top-level header</h1>
      <div>
        <h2>and here we have #2</h2>
      </div>
    </div>

Actually, I'd rather skip the divs entirely, but that is a separate issue.
Could there be a configurable way to disable the creation of these
properties? I have searched the mailing list, and have not found anything.
Perhaps I've missed something; there are a lot of results for "html class
id" or similar searches. Thanks.

[-- Attachment #2: Type: text/html, Size: 1174 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-06-11  8:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-10  7:07 Feature request: in org html export, option to disable id & class properties Zachary Kanfer
2021-07-10  7:41 ` András Simonyi
2021-07-11  5:45   ` Zachary Kanfer
2021-10-03 15:57     ` Amin Bandali
2021-10-04  4:12       ` Zachary Kanfer
2021-10-04  5:01         ` Tim Cross
2021-10-04  6:17           ` New HTML exporter (was a feature request) Timothy
2021-10-04 14:19             ` Matt Price
2022-06-11  8:06             ` Ihor Radchenko
2022-06-11  8:25               ` Timothy

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).