emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Zachary Kanfer <zkanfer@gmail.com>
To: "András Simonyi" <andras.simonyi@gmail.com>
Cc: emacs-orgmode list <emacs-orgmode@gnu.org>
Subject: Re: Feature request: in org html export, option to disable id & class properties.
Date: Sun, 11 Jul 2021 01:45:58 -0400	[thread overview]
Message-ID: <CAFXT+RMRwbNUsaBKMNbLUXC8peHDp_+g=4+_6j-UtmBfJ-5g_Q@mail.gmail.com> (raw)
In-Reply-To: <CAOWRwxCOAfmDTiwvhxL_myqtSaLA6cWMzALtkYzheO1wT20hJw@mail.gmail.com>

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

That is an interesting exporter. Is it actually part of orgmode? I don't
see it in the org repository. I don't want to rely on downloading something
from an archived repository that won't get bugfixes.

On Sat, Jul 10, 2021 at 3:41 AM András Simonyi <andras.simonyi@gmail.com>
wrote:

> 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 <zkanfer@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.
>

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

  reply	other threads:[~2021-07-11  5:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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+RMRwbNUsaBKMNbLUXC8peHDp_+g=4+_6j-UtmBfJ-5g_Q@mail.gmail.com' \
    --to=zkanfer@gmail.com \
    --cc=andras.simonyi@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

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