From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sUgpE2FP6WBHygAAgWs5BA (envelope-from ) for ; Sat, 10 Jul 2021 09:42:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uDlLDmFP6WB+OQAAB5/wlQ (envelope-from ) for ; Sat, 10 Jul 2021 07:42:25 +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 BFFF515452 for ; Sat, 10 Jul 2021 09:42:24 +0200 (CEST) Received: from localhost ([::1]:50480 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m27cz-0002v0-Sd for larch@yhetil.org; Sat, 10 Jul 2021 03:42:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m27cT-0002ur-FH for emacs-orgmode@gnu.org; Sat, 10 Jul 2021 03:41:49 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:33427) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m27cR-00028a-Kh for emacs-orgmode@gnu.org; Sat, 10 Jul 2021 03:41:49 -0400 Received: by mail-wm1-x32f.google.com with SMTP id g8-20020a1c9d080000b02901f13dd1672aso7470396wme.0 for ; Sat, 10 Jul 2021 00:41:47 -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:content-transfer-encoding; bh=Gu6vxNEEvYwWTcRcrwK7/kFCpstEj/OQF1mkgfZC5Ic=; b=FfJ/+qd76rQlzRmkIfUvUQ0DW8cZmpaVVL2b5CgQ3e2fVwG4vIzsUE4BZawd24EPmX J70kkfRjkHBrhNLLV3IuGBvgieyExonJ1nrnqevasDmEzaagjY6LhOFU3AAE3EzSQOUS N8r6g8TxbvNjkeSvxwng6xIt6NKm8vCFEk4slU+b2D97CL+y9uAQbfqSE3eg96DVZDxG Z6qz88yBffnzbV9U/z5IFVY2nm6BJim8vXKES+1yXj6Dksp5BXIZ99vMg3pfB3zIvpJt j3vJZuiMhoTqWLg9bMGMW+8QYyzb1i4Ik7N3YZKPCFWukupYVF5nveDSbfJvWtHYxtcT q/Rw== 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:content-transfer-encoding; bh=Gu6vxNEEvYwWTcRcrwK7/kFCpstEj/OQF1mkgfZC5Ic=; b=goYvVakEuZeZxLpzfgW/7wJb1kvABvl6yNvriy2sgFRrQpyvXA2Tc2Xqqi6JkdcdCP tadPX+0dueVUnxgcO6t0mzAxiPMBT/0EEMeG2Nphp2RvYBtp3UgELmMuTcCpnuH0XgHx Y3ot9QKifdSaHv3zTh/rsFcCulKGzzr2ENsyxmkeiMcr4cwcjYpftHe+Sz+z6aEcDYRp 4uZ3hOuXaISPQh7psnn9vPYbcdDuICENPW2EjHtHOlNfHnaeu5UxSNYJoBKQqxVJBMPe V83f3oy+hMRwoXA1LPFL+HztD0+8Q1RY6cYl6U/wbqkSbSJi9OKLfP0eaHmsncGBuZwM 5Z/w== X-Gm-Message-State: AOAM53184UncFDte1GKi7HxcALxL5KeZzk5VnjsmYGXc0YNkpNTU+7LY PpfFCkElO9aSGEGn28KkVSunvi1GM+2XI+EhZA8= X-Google-Smtp-Source: ABdhPJy4FgHRhs1aBeLWVJpwiuzp1p1P/sq71LWnZWjlIfyl98Er33nBJ8879ZsZh71DCtkFWC+LskMMQl7SuL9V9RU= X-Received: by 2002:a1c:7915:: with SMTP id l21mr3139326wme.62.1625902906036; Sat, 10 Jul 2021 00:41:46 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?Q?Andr=C3=A1s_Simonyi?= Date: Sat, 10 Jul 2021 09:41:34 +0200 Message-ID: Subject: Re: Feature request: in org html export, option to disable id & class properties. To: Zachary Kanfer Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=andras.simonyi@gmail.com; helo=mail-wm1-x32f.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, 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=1625902945; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Gu6vxNEEvYwWTcRcrwK7/kFCpstEj/OQF1mkgfZC5Ic=; b=VHqwDD7Za3cy171B5LjAY0VuezGQWrTzi7PNU76MQ61n3WS2jRx5vj4VmuhnFGLFMhXfYc MfAs7K4dVMV1w0EZfiR3D+NOPkdeymeMvdYI5AqPeTp4EFAII6i3HF4G3zcyiQyECMkkFY znAGGXKREyDcz1TOpO8fPovh/Q6U1kvuavJkKMmCUXG7YdGrI+ZAlRZ8M9SyOCsiMQTDCQ oyqkvIA+vCQIa3V4pFTMF2I2f0tLcR40N9sZjNxn5JgMU8Xc8JpSkVA3H4kwjoBf5R1eTm 7QdkpJWF1rGc8pIg7hceYZQSGJuXpw2hUQtw7jJwkL8OqW6b2U2ostH4qsbK4Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625902945; a=rsa-sha256; cv=none; b=SBjhnX2vco49o7fFQpWWdsr+rKMAXEIz+SXc7/7YsJ0FM4WweAIwmQMvaQXp/OS3mB8eL6 FeLP6BwCi7LdgszO9/t9nERQQsa5UgPow4GbN2kfIqkelG/2JrUn98cB9AZSfyizi+j3cm cymC8LLusb9ZMiHT28z8+oiWyIeweLY36nS98+mH/P9F5mu1eho1c2oJa/rwP2stUXWhnv 0ea9gdpaCEeZfUAqfalqUVB+EUc1rLZwWmrgWek6UnmwsVL+2YYFwgHNBtE2TML6tnkhXx PHWFZYAXodpSY5v3n60ZJpWib45WptWCHqTYwpcKFKicdyKLP30Yc/Aq2543qw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b="FfJ/+qd7"; 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: -2.80 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b="FfJ/+qd7"; 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: BFFF515452 X-Spam-Score: -2.80 X-Migadu-Scanner: scn0.migadu.com X-TUID: Ixav8kZSYvpm 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; somethi= ng 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 proper= ties? I have searched the mailing list, and have not found anything. Perhap= s I've missed something; there are a lot of results for "html class id" or = similar searches. Thanks.