Hello, I'm not really familiar with the internals of the built-in html exporter but the slimhtml exporter [https://github.com/balddotcat/ox-slimhtml] might be closer to what you're looking for.
best regards, András On Sat, 10 Jul 2021 at 09:08, Zachary Kanfer <zkan...@gmail.com> wrote: > > 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.