From: Ihor Radchenko <yantar92@gmail.com>
To: Samuel Banya <sbanya@fastmail.com>
Cc: Charles Berry <emacs-orgmode@gnu.org>
Subject: Re: Is It Possible To Target ID And Classes With Org Mode Exports?
Date: Sat, 19 Feb 2022 21:22:08 +0800 [thread overview]
Message-ID: <87wnhr7zzz.fsf@localhost> (raw)
In-Reply-To: <35de966d-fabc-49e8-80d9-01f0453f58b0@www.fastmail.com>
"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
https://list.orgmode.org/87mtinb2vq.fsf@posteo.net/T/#t
Best,
Ihor
next prev parent reply other threads:[~2022-02-19 13:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-19 1:13 Is It Possible To Target ID And Classes With Org Mode Exports? Samuel Banya
2022-02-19 13:22 ` Ihor Radchenko [this message]
2022-02-19 15:49 ` Samuel Banya
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wnhr7zzz.fsf@localhost \
--to=yantar92@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=sbanya@fastmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.