From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id oDmSJTByL2eniwAAe85BDQ:P1 (envelope-from ) for ; Sat, 09 Nov 2024 14:31:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id oDmSJTByL2eniwAAe85BDQ (envelope-from ) for ; Sat, 09 Nov 2024 15:31:12 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="nu+UTS/e"; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731162672; 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=DHfmIxFWs9nREbULwVCV2xYKz0fUPmurmcHIgM9eDuU=; b=rSuSrBoeZ2W6Gas4HW1JoouVcZ6zxGF0KBFPHdqXNJP0PLkmoukE24jiJARTa0r8l5koHw 0ZUwSAKbxho9ymYavnJils06BZ7LBBCGlpSo9zNAzzZwuBsJslZDQbBk6dAn3S951QGsBS rsmtDb7fXjuFLM0yWUE7hNbeBM6scjeg+EEP5uU0M19ZJAHtvNB9iPzuNc+32R5+m9TTOR PoTR1zeh8mXIrbDHBQQczv69y6dZ2PI38d9fKewNvPfJ4IfMDQ7kAgKJJO/3x98xFd4IG9 h6gaIgowUsrFiTyvDHMp+XfP8wE2OLHIXg0SJ7V6+d7XNJOQWCumG1kvC0oKtw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731162672; a=rsa-sha256; cv=none; b=Y0rHBFzZ9s8kgRUThMm8vZfAiCDxLW7nU000b7Z0CYpb5p0J6H3fWtVxecXWvcFmrV4ZD7 A5fnkCwcQlpgcEGDMVCkZU1pXgFiRzauz4j8ZmuXZU44IifEaztlqM8uo3HCnanN/P2LMU npoJ+1/SuEAqo26Jqdj/IHWLx880uWpGCTsSUkNdoRF033+Z0v38Q/t6+QI11aXly/DE5I V1H0WMquT90TsDjb9L/BWfZ3LKpgvnDRI+ZiBt6KkDTc9aeqXChlhVJWJzhhgg6O1H9FnN TMqOnKEgwqaXihCM4LjNwFOajNLRaGmGK1wwTFbC3srgIhajjFu0eRJ5GDWSDA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="nu+UTS/e"; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net 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 F0C6E501EB for ; Sat, 09 Nov 2024 15:31:11 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9mTj-00034C-Ms; Sat, 09 Nov 2024 09:30:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t9mTi-000343-Cy for emacs-orgmode@gnu.org; Sat, 09 Nov 2024 09:30:18 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t9mTg-0004KO-5L for emacs-orgmode@gnu.org; Sat, 09 Nov 2024 09:30:18 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 94A86240027 for ; Sat, 9 Nov 2024 15:30:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1731162613; bh=hJNjkiqErtwk/328RonIVv2Nkzsr7nmQPC67wVZPHxo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=nu+UTS/eb60VEW0KGJcUCM3x5TOdRthbq8bax0Ck/fnZlMJ5SR+QSke7gyaM8AzY/ xJOPgHtB3GnYBB4QkqOcKIhZnMebW9HdPXKrEESpaAY8w9MXQ8Gtl1u3Y56/W3O1AM JmLhOwPFkej2U7NnPG+i/QhkDH4igR6Rg6uIuhQtpAgzxBY6xm+E6w3775+NDLYWHb dP2vtdPPDVrJrOaMRqEvw+4pTIOsyEoPibBRlM+PMgskRzVfC9Dsd/JYdFjyuvU0s5 N+A+ZHQUuO22jeZ/G+O3MmjNdpANpkfhEjLu1I/nAOvPa9I0FWxwt5HxZIkem7ofGf YSlxg06y6DRqA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Xlyrg5dL1z9rxP; Sat, 9 Nov 2024 15:30:11 +0100 (CET) From: Ihor Radchenko To: Daniel Radetsky Cc: emacs-orgmode@gnu.org Subject: Re: [POLL] Mark all the tags in HTML export with unique class (was: Adding a class to the auto-inserted
elements) In-Reply-To: <87zfogpx65.fsf@localhost> References: <87seujpc7p.fsf@localhost> <87zfogpx65.fsf@localhost> Date: Sat, 09 Nov 2024 14:31:51 +0000 Message-ID: <87ed3kfpgo.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 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.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.13 X-Spam-Score: -4.13 X-Migadu-Queue-Id: F0C6E501EB X-Migadu-Scanner: mx13.migadu.com X-TUID: kK11/Y96gD4f Ihor Radchenko writes: > We are discussing the way Org formats HTML tags in HTML export. > Some of the tags added by Org are simply bare tags, like
below. > >
  • Low-level heading
    > > The suggestion is to add a unique class to each tag produced by Org HTML > export, so that CSS rules can precisely target various tags. We have been waiting for 2 months, but nobody seems to be interested enough in the topic to participate. Closing the poll. Closed. So, it has to be my call. I suggest the following: 1. Create a function similar to `org-html-close-tag', but accepting attributes as an alist. 2. Introduce a custom option controlling which tags should be assigned classes 3. Change all the users of `org-html-close-tag' and places that directly produce HTML tags to use the new function By default, nothing should change. But I will not object an alternative default that will assign classes everywhere. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at