emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Zachary Kanfer <zkanfer@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Feature request: in org html export, option to disable id & class properties.
Date: Sat, 10 Jul 2021 03:07:34 -0400	[thread overview]
Message-ID: <CAFXT+RPwrJjRTJ_N3RLGH+2Kg86-PSKXn+8HNi2Boiwk2AdAqg@mail.gmail.com> (raw)

[-- 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>

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

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

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 --]

             reply	other threads:[~2021-07-10  7:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-10  7:07 Zachary Kanfer [this message]
2021-07-10  7:41 ` Feature request: in org html export, option to disable id & class properties 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

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:

  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=CAFXT+RPwrJjRTJ_N3RLGH+2Kg86-PSKXn+8HNi2Boiwk2AdAqg@mail.gmail.com \
    --to=zkanfer@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* 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


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