From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id sF7lM8CW1GbudQEAqHPOHw:P1 (envelope-from ) for ; Sun, 01 Sep 2024 16:30:57 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id sF7lM8CW1GbudQEAqHPOHw (envelope-from ) for ; Sun, 01 Sep 2024 18:30:56 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=dgbs0R9h; 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=1725208256; 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=pskyxvRiUSEp24LgllsVzz1oXdsHSDziDV7AhFW2WrE=; b=Fz2GZ/Qw4eu4Ua54WeHTGPytQV9HrHBA8elUlyp9TXJOmCGrPPisDb9/9etcWw8UXIharx t26SbYvUsAW8LhTKvaKI7rKKV5TjiblV18Wf9Xh8niDcHXErNreAf/rOYBxXbSsTY+3OuT 3zs0E0cSEIG0BOoVISVseF9E8DPrXM0ADZvbZaJzJxTU9JTakOqJFufEdF8NHFwAlcoXDV wF8JCFTs4Eci4SFFyk+Yv9H5bUWWVUalJryo/5I+ods55I0djm08v79TT8hfbpxSVj8gyq teP7rcKrfA5kCDR3mYIteoluP+VTmOSr/07aMuZzeh2amcALZQjrIlpeSJD6Og== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=dgbs0R9h; 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-Seal: i=1; s=key1; d=yhetil.org; t=1725208256; a=rsa-sha256; cv=none; b=fN9T2ajwvzjzJIuwMhwaFEVEPQCCQWiFJ4QtX6/CSqXAbPoH7CWGix88tpUIlUGx7GfZGC ngmfLqTyLsNh83aLHTL1Ml3Jy+SlvxExH+pdgOEs9FchCr78vs3dEd7RciWvOmBGvDFTv2 wEDo7QYFaueYGqeBeC8zUsoxS0awmxtnVq+4/nwTLaGSNDSjO5FN14rxzexh3CbyWky+Kb Jol8BjZiQ+DBVcOIAHMd1zXEwcn6OQQjDGZlw+f4FAiuumCjNlWG6eT6bMg0dEcI/crSR1 G9A5Qe0gOvZ44Jb5WqNwG7RYGDXgeEw9PfngGSUJD0fCczNQp/CTLqdKfqcwzw== 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 991F62209D for ; Sun, 1 Sep 2024 18:30:56 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sknT1-0003fe-Lp; Sun, 01 Sep 2024 12:30:19 -0400 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 1sknT0-0003fR-Et for emacs-orgmode@gnu.org; Sun, 01 Sep 2024 12:30:18 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sknSy-0007ca-Bv for emacs-orgmode@gnu.org; Sun, 01 Sep 2024 12:30:18 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 513EC240101 for ; Sun, 1 Sep 2024 18:30:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1725208214; bh=OEaf1Ojl68N6+0p6CtC/Os4lltNJEW80L8c/sMnTlZI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=dgbs0R9hnq8Tr6n2B01uZHYUK2qSEWseLsZFAy4AXcNjKpqIZcN+2J3bSECO4jbna hlyGYHgDbNXj3acZglC+RN/ZJbjAsegpyzR4e4lOU1EwNLJTTk12kajk7dIbQmR51B if+tDJS7VlPRads/LxH0hgQwLYbT3qfWkqi9pKDrlpkgAyZMYsw9y5zly/L2+QWnlx TcXrD32JjcRx4nAT2N0UBzPptBOM0cumRi8+3Uu6sChpn6cpksxQdflL2l8qtQ2F03 34HPzD/uvJ3SgqwpC0O5BZ/GTSOZBEfR+RtipU8n90hmLg/RezN4Lg6DrVEuI+0k+9 BEw5+isc5HUfQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Wxcn13nWfz6tyB; Sun, 1 Sep 2024 18:30:13 +0200 (CEST) From: Ihor Radchenko To: Daniel Radetsky Cc: emacs-orgmode@gnu.org Subject: Re: Adding a class to the auto-inserted
elements In-Reply-To: References: Date: Sun, 01 Sep 2024 16:31:38 +0000 Message-ID: <87seujpc7p.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.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.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -9.71 X-Migadu-Queue-Id: 991F62209D X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -9.71 X-TUID: C8clEspiB181 Daniel Radetsky writes: > So I was exporting an Org doc to html the other day, and I was trying to > follow this guide to make the list elements appear as a comma-separated list > > https://markheath.net/post/css-comma-separated-list > > It didn't work, and I discovered this was because Org adds a
element > to the
  • element if the
  • element is created from an Org headline > element. But there is nothing wrong on Org side per se, right? The fact that some specific suggestion from the internet did not work for a specific HTML that happened to be created by Org mode, does not mean that we need to fix Org mode. Unless the change you suggest may benefit many Org users, of course. > ... The easiest way to fix this and allow the aforementioned guide to > work is by ensuring that all those
    elements have `display: none` set > via CSS. To make this easier and/or reduce the risk of accidentally > removing other elements, we can add a class name to those
    's the way we > do to other elements. What would be the benefit of doing this beyond fixing your personal use case? For other Org users. Also, you can always use p > a CSS selector. What's wrong with that? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at