From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CNdiJ96F6mDSQAEAgWs5BA (envelope-from ) for ; Sun, 11 Jul 2021 07:47:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id gCcXI96F6mDvGwAA1q6Kng (envelope-from ) for ; Sun, 11 Jul 2021 05:47:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1B9B61F50B for ; Sun, 11 Jul 2021 07:47:10 +0200 (CEST) Received: from localhost ([::1]:60914 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m2SJ3-000560-9P for larch@yhetil.org; Sun, 11 Jul 2021 01:47:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2SI9-00055d-DA for emacs-orgmode@gnu.org; Sun, 11 Jul 2021 01:46:13 -0400 Received: from mail-lj1-x235.google.com ([2a00:1450:4864:20::235]:38686) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m2SI7-0003e2-KP for emacs-orgmode@gnu.org; Sun, 11 Jul 2021 01:46:13 -0400 Received: by mail-lj1-x235.google.com with SMTP id h9so1366932ljm.5 for ; Sat, 10 Jul 2021 22:46:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ejCqImpTT5pDjziDexXJtg3cESX8vpjcxiqxWmTLI7k=; b=Od1cvTqVi7mJYGrIzamULSdBOwlwVQzMaNX3Jxp5L5Hj9N5VmH0SkNjj27Jf3zcO8S IGpyNzsHeFM280SU66/Gnsvx3PXPYCwE0bJeZTYMZa+fph8rYI204w2QqG4g0WG5AWJ3 zyn9DmwyOchEfwGROYj2Ff2Y8GinrIhHM/7Zv1MoUizUDN/kGxmiRVp55Oz0fAPPdg1Y xQw0evxAxTAyaFQ4+D+AxJLvdu5mBUZnqHVM9IWJRtAnXIf1RDjcN0UISNVvchpBOPj1 ik6XbVcy7brb+orNDoDxXnMPxFyf5T4aZwpEX9l/0SPA0MEdwI4d6YnN6yS/TwAvI1BT C0OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ejCqImpTT5pDjziDexXJtg3cESX8vpjcxiqxWmTLI7k=; b=MvUld3ckWrcgt6DLsVTvbb05uU5h4io7tw9i80ujZq8Cil8Upr+FGe+Du/fitSTXxN a3aZNt1fsxU3nocfojUYMy6lt4jOiLGlaLN/1NfruO7oKya4KZV+Ct/2iQVoM14LpxY8 mBLv0PxwQ3HAj7/ESRvr2iIoh8CYeSP5jyY8W3f9x7WMVG4N9GtU8FNNzZD6eRX+z6gd I8NV9IJk3tn1SyBmrYlNW927jlG4o3NGQtdys1xKSET83rJFnwiH3LlZarwO+426M/Iv Yy36740YUlqSEHgCBqfLmEXSHDsqyoh8yH6tfkmrDO/kajK6e6Sk+NgPd2jtlyOIIHTr ljYw== X-Gm-Message-State: AOAM531QXNxSyK5KFerqVLqQ15WikSQFKoQJzPD0Tx7zW5iWdRlM3enc 0/tl/j7z97rzHZVbpF/9HC0IW2bK3XfzcQgo4vw= X-Google-Smtp-Source: ABdhPJyuyaPQ1k4XvQZelTAX8XH8c/rw01aMYtOq3TsF80rgyVWSMkSgVNZ+JjpPybl/jOyblVe2kaQ64Euvx9TTa8E= X-Received: by 2002:a2e:5c03:: with SMTP id q3mr35931673ljb.233.1625982369883; Sat, 10 Jul 2021 22:46:09 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Zachary Kanfer Date: Sun, 11 Jul 2021 01:45:58 -0400 Message-ID: Subject: Re: Feature request: in org html export, option to disable id & class properties. To: =?UTF-8?Q?Andr=C3=A1s_Simonyi?= Content-Type: multipart/alternative; boundary="0000000000009169cd05c6d285ea" Received-SPF: pass client-ip=2a00:1450:4864:20::235; envelope-from=zkanfer@gmail.com; helo=mail-lj1-x235.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode list Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625982430; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ejCqImpTT5pDjziDexXJtg3cESX8vpjcxiqxWmTLI7k=; b=DZ+RNCBJZchbuXnb8+85UhYAue7SnZyjfbCjzuwxlDbyzqJvnR7kseMS7x8OmD2Dln/Wbi VEtp9mlaKPYHQ+TeaAED3BYR6dVCAkkzMaZm0ztWyRRdZ41IJeDM0S1V1stuvKrWVs9CCv D8zmD88L5IAeAPONvjLGpQhuWAPTyoiIPFgA1T94athR4MndA1npyCm1YoKxifi1rYWy2l X7irzwA4X83G221qE+JxtbZp7wnaY4IctamMIMyj7xlSPAcohOFeesQkfkMvfHsnw38w4Q bgOf4ojms8LrZjkEeT4Qs1bRph1xWvR+gxmd6+YEP024/gEGy3HrCY3mEUT37g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625982430; a=rsa-sha256; cv=none; b=D704et0Vlw8KXUxwFhf3J9b7CD2aOug2ZE7i/2zTN/opay8g7SNVQ9ggUF7nw5HSr8dh0U s7Bv3o3ZPvpbMjtPLW+knTR120Lde4sJ6I77Ygz66EWXdMJ3wVnfMhWPHP7xjg4Do4OsvA e3u08F/dyrymDaX3yXcBrtPDjPXnuqNOlaXgYCnn6lh5M9u2sjxYGcGyudz8GZm31S8/tj 3pcvUaXO7AD801PVvIjBomoPg18djzenu1ZRBFpyQY8J2UkR5YOeuHo2O09Cud3rWxQ9r+ DQN+7MMdq7TIHh6GmIq74OHTF3IzA7aCAcsL6GNaOewL9Id9lxcolUMKLXe4tA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Od1cvTqV; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -0.41 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Od1cvTqV; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 1B9B61F50B X-Spam-Score: -0.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: 42JB4OVdVAti --0000000000009169cd05c6d285ea Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=C3=A1s Simonyi 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=C3=A1s > > On Sat, 10 Jul 2021 at 09:08, Zachary Kanfer 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: > > > >
> >

top-level header

> >
> >

and here we have #2

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

top-level header

> >
> >

and here we have #2

> >
> >
> > > > 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. > --0000000000009169cd05c6d285ea Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
That is an interesting exporter. Is it actually part of or= gmode? I don't see it in the org repository. I don't want to rely o= n downloading something from an archived repository that won't get bugf= ixes.

On Sat, Jul 10, 2021 at 3:41 AM Andr=C3=A1s 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]=C2=A0 might= be closer to what
you're looking for.

best regards,
Andr=C3=A1s

On Sat, 10 Jul 2021 at 09:08, Zachary Kanfer <zkanfer@gmail.com> wrote:
>
> When I export this sample org file:
>
>=C2=A0 =C2=A0 =C2=A0* top-level header
>=C2=A0 =C2=A0 =C2=A0** and here we have #2
>
> The body of the generated html has this content:
>
>=C2=A0 =C2=A0 =C2=A0<div id=3D"content">
>=C2=A0 =C2=A0 =C2=A0 =C2=A0<h1 class=3D"title">top-leve= l header</h1>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0<div id=3D"outline-container-orgd9fc= 9e6" class=3D"outline-2">
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<h2 id=3D"orgd9fc9e6">= ;and here we have #2</h2>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0</div>
>=C2=A0 =C2=A0 =C2=A0</div>
>
> I would prefer the html to not have these id or class properties; some= thing like this:
>
>=C2=A0 =C2=A0 =C2=A0<div>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0<h1>top-level header</h1>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0<div>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<h2>and here we have #2</h2&= gt;
>=C2=A0 =C2=A0 =C2=A0 =C2=A0</div>
>=C2=A0 =C2=A0 =C2=A0</div>
>
> Actually, I'd rather skip the divs entirely, but that is a separat= e 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 "ht= ml class id" or similar searches. Thanks.
--0000000000009169cd05c6d285ea--