emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Feature request: in org html export, option to disable id & class proper


From: Zachary Kanfer
Subject: Feature request: in org html export, option to disable id & class properties.
Date: Sat, 10 Jul 2021 03:07:34 -0400

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]