From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eG4GLAwSEWLpigAAgWs5BA (envelope-from ) for ; Sat, 19 Feb 2022 16:51:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kK9LKQwSEWJjigAA9RJhRA (envelope-from ) for ; Sat, 19 Feb 2022 16:51:40 +0100 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 8815E3695F for ; Sat, 19 Feb 2022 16:51:39 +0100 (CET) Received: from localhost ([::1]:49842 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nLS1K-0001LP-O9 for larch@yhetil.org; Sat, 19 Feb 2022 10:51:38 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33966) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLS08-0001JQ-GM for emacs-orgmode@gnu.org; Sat, 19 Feb 2022 10:50:25 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:50117) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLRzV-0006sW-OK for emacs-orgmode@gnu.org; Sat, 19 Feb 2022 10:50:14 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id DA20D5C029A; Sat, 19 Feb 2022 10:49:37 -0500 (EST) Received: from imap49 ([10.202.2.99]) by compute2.internal (MEProxy); Sat, 19 Feb 2022 10:49:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; bh=Oua8Bu4dr20G5oK2sKu+ngKjuM3bskLycLwtnI rByLg=; b=XUO6QLokSYmraDLOTz8eN4h5JY+i08z8aV/L8QcJbGfoktgH0aG9t1 9ef5jgLkWOwiSHy3RKbDVJ8XnaKKN3Qdo/AriXIDyDmAcFodX98kSrSY/luXePAH 0vqA50qpGGBEB9ChIYg2iP26kBfJJak5gR7vKm3CNejaGMrJHZVvJScx4KZIA/DW 5FxMIQNf4gY6RlJoei9GNoCEFKb99KEb/i3GcyGxEc0HrJTUcUmaKv3kOv9MCoJH dXlYAZF3wrQin45m1SfsEo4UQZS8dEciUU9h5SHR8FpgvlZdjzAnFNvK8zCVfsxX Ga2JNJFU2PpOavg4kH+EIXcDfQZbFkrw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=Oua8Bu4dr20G5oK2s Ku+ngKjuM3bskLycLwtnIrByLg=; b=XNmzOtnffrw+pGUGx28onw4Cw6HxV2SWU g4lX4A7BztJIxtXG/hZvuyRg8+hICQkKru/LAtrsgl6tOOt5lyYUS9LrykmieEVy 6OPQHGSSRLzAs6EN8Xxbgj7aXhbnk0mxucnGiu5ImDCAkVAYrHaaZMXoaRTE14+D cOHBHSm7AYxQqcfS5jp44G5n8jmHhIxF8AQzy2GoRd2qCf43ZUcKso2nA562bjCE DbqZQtOeaEs4KN3tMj5DAX7NwBNx8Bw9gtiOAnSP7pGdQN1FoBOb3DMTZt+zRS4Q uYeX1cH2OYW1P7XnzFnc3399BwHYf1IuBRwMpCJCQXclT0UeQFI+Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrkedvgdektdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgesrgdtre erreerjeenucfhrhhomhepfdfurghmuhgvlhcuuegrnhihrgdfuceoshgsrghnhigrsehf rghsthhmrghilhdrtghomheqnecuggftrfgrthhtvghrnhepfefhueejffefheevgfffue elvdeuteduledtvddvtdefgeelueefteejffejtefhnecuffhomhgrihhnpehorhhgmhho uggvrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepshgsrghnhigrsehfrghsthhmrghilhdrtghomh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id A4F9DF6007E; Sat, 19 Feb 2022 10:49:37 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-4778-g14fba9972e-fm-20220217.001-g14fba997 Mime-Version: 1.0 Message-Id: In-Reply-To: <87wnhr7zzz.fsf@localhost> References: <35de966d-fabc-49e8-80d9-01f0453f58b0@www.fastmail.com> <87wnhr7zzz.fsf@localhost> Date: Sat, 19 Feb 2022 10:49:17 -0500 From: "Samuel Banya" To: "Ihor Radchenko" Subject: Re: Is It Possible To Target ID And Classes With Org Mode Exports? Content-Type: multipart/alternative; boundary=ddc65d6c1c4b420f9e63f1e165ea0b1d Received-SPF: pass client-ip=66.111.4.29; envelope-from=sbanya@fastmail.com; helo=out5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_PASS=-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: , Cc: Charles Berry Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645285900; 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=Oua8Bu4dr20G5oK2sKu+ngKjuM3bskLycLwtnIrByLg=; b=ivI6SFpcRkIMCemfPSKlKVdlNv9/3AzX/4QXw5cRc+R7IKuZZ+9bINetJjR1nZV1mNOII2 euXp3SVo0a8oi4f/2Pj9kLYe6s0azHi2XmvuBV3WaidIGQIB4iBrRuirGMaQxDP04dU8A8 hN0bWyvOQTAbJvmyrUNh7emDhUKjrlC520p6H4D5IsEbM4sUtLymU3Si/LD9VPPpwoSGse UPETjpEieKwJZvwNiOO3O8ZOA8thlcKcgHhkg+utG7W+uIONrQ+Ftu5q6ZqclqM3kKqXFJ TwWAIPvUTzvq7NMUb4GcnBmNcQFYcHIuUwy/igBz4pBLn738EFI1SVqHgb03pw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645285900; a=rsa-sha256; cv=none; b=FMK7Qz7MS9SKE0w96o4Br7VIAwII22i4e/cWcYtA6bVfPszgp9daBfXz7gTeEvWmIgBmun mhHrJB8lO9BjZkmb303iFN/2okdqW/eGzwMcfzTER0jQ5HQUgqgQAY3yowdnpRB/NpYzDJ 1sG3HfbM4y7Rjfll6vmBg3zEEVf+RdbCmZ90WSoU3pY5AqtIaHRnJ6YNv4n3Qt/2rCEmNw XoX8E0+PC2Jgw1EyMpLS8aGUgf8MzGskLdRGnROZI3OtcFc65qUM9fRhigSf9cQJ48/Ap+ Cr+AC9YmYkLZQsgDoUAF5lVnmBPZmC5HD5d8gN8EeswLBBrof+xSEaOtKoUW3w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=fastmail.com header.s=fm2 header.b=XUO6QLok; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=XNmzOtnf; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fastmail.com (policy=none); 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" X-Migadu-Spam-Score: -1.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=fastmail.com header.s=fm2 header.b=XUO6QLok; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=XNmzOtnf; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fastmail.com (policy=none); 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" X-Migadu-Queue-Id: 8815E3695F X-Spam-Score: -1.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: YIztGuApZ1Of --ddc65d6c1c4b420f9e63f1e165ea0b1d Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Hey there, I used 'C-h r' and found the man page for this under '13.9.12 CSS suppor= t' for the Org Mode manual. Here's the section: * In order to add styles to a sub-tree, use the =E2=80=98HTML_CONTAINE= R_CLASS=E2=80=99** * *property to assign a class to the tree. In order to specify CSS styles= ** * *for a particular headline, you can use the ID specified in a =E2=80=98C= USTOM_ID=E2=80=99** * *property. You can also assign a specific class to a headline with the** * *=E2=80=98HTML_HEADLINE_CLASS=E2=80=99 property.* Thanks for providing this, as I had no idea you can do this, great to kn= ow! Will use this to create some 'flexbox' elements using containers with th= is in mind :) Thanks again, Sam On Sat, Feb 19, 2022, at 8:22 AM, Ihor Radchenko wrote: > "Samuel Banya" writes: >=20 > > I'm curious, is it possible to specify a 'ID' or 'Class' attribute f= or a specific header, or link that you create in Org Mode? > > > > Asking since I'm in the process of modifying a CSS stylesheet for a = site, but would want more granular control to possible make containers w= ith ID or classes, but it doesn't look possible in Org Mode by default. >=20 > For headline class attribute, see Org manual -> Exporting -> HTML Expo= rt -> CSS > support (HTML_HEADLINE_CLASS property). For headline ID, you can set > CUSTOM_ID property. >=20 > Links are discussed in > https://list.orgmode.org/87mtinb2vq.fsf@posteo.net/T/#t >=20 > Best, > Ihor >=20 --ddc65d6c1c4b420f9e63f1e165ea0b1d Content-Type: text/html;charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hey there,
<= /div>

I used 'C-h r' and found the man page for this = under '13.9.12 CSS support' for the Org Mode manual.

<= /div>
Here's the section:
   In order to = add styles to a sub-tree, use the =E2=80=98HTML_CONTAINER_CLASS=E2=80=99=
property to assign a class to the tree.&nbs= p; In order to specify CSS styles
for a part= icular headline, you can use the ID specified in a =E2=80=98CUSTOM_ID=E2= =80=99
property.  You can also assign a= specific class to a headline with the
=E2=80= =98HTML_HEADLINE_CLASS=E2=80=99 property.

Thanks for providing this, as I had no idea you can do this, great to= know!

Will use this to create some 'flexbo= x' elements using containers with this in mind :)

Thanks again,

Sam

=
On Sat, Feb 19, 2022, at 8:22 AM, Ihor Radchenko wrote:
"Samuel Banya" &= lt;sbanya@fastmail.com> wr= ites:

> I'm curious, is it possible to s= pecify a 'ID' or 'Class' attribute for a specific header, or link that y= ou create in Org Mode?
>
> Asking sinc= e I'm in the process of modifying a CSS stylesheet for a site, but would= want more granular control to possible make containers with ID or class= es, but it doesn't look possible in Org Mode by default.
<= br>
For headline class attribute, see Org manual -> Exporti= ng -> HTML Export -> CSS
support (HTML_HEADLINE_CLAS= S property). For headline ID, you can set
CUSTOM_ID proper= ty.

Links are discussed in
https:= //list.orgmode.org/87mtinb2vq.fsf@posteo.net/T/#t

=
Best,
Ihor


--ddc65d6c1c4b420f9e63f1e165ea0b1d--