[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is It Possible To Target ID And Classes With Org Mode Exports?
From: |
Ihor Radchenko |
Subject: |
Re: Is It Possible To Target ID And Classes With Org Mode Exports? |
Date: |
Sat, 19 Feb 2022 21:22:08 +0800 |
"Samuel Banya" <sbanya@fastmail.com> writes:
> I'm curious, is it possible to specify a 'ID' or 'Class' attribute for 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 with ID or
> classes, but it doesn't look possible in Org Mode by default.
For headline class attribute, see Org manual -> Exporting -> HTML Export -> CSS
support (HTML_HEADLINE_CLASS property). For headline ID, you can set
CUSTOM_ID property.
Links are discussed in
87mtinb2vq.fsf@posteo.net/T/#t">https://list.orgmode.org/87mtinb2vq.fsf@posteo.net/T/#t
Best,
Ihor