From: Jens Lechtenboerger <lechten@wi.uni-muenster.de>
To: emacs-orgmode@gnu.org
Subject: Re: PATCH: Allow class attribute for headline in HTML export
Date: Mon, 03 Dec 2018 07:46:03 +0100 [thread overview]
Message-ID: <87tvjvds5w.fsf@wi.uni-muenster.de> (raw)
In-Reply-To: <874lbvlly5.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sun, 2 Dec 2018 21:20:50 +0100")
On 2018-12-02, Nicolas Goaziou wrote:
> Jens Lechtenboerger <lechten@wi.uni-muenster.de> writes:
>
>> From 068fb45f5276d61e86271988efbcf6c29e08c411 Mon Sep 17 00:00:00 2001
>> From: Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
>> Date: Sun, 2 Dec 2018 20:25:38 +0100
>> Subject: [PATCH] ox-html.el: New property HTML_HEADLINE_CLASS for class of
>> headline
>
> Thank you.
>
>> * lisp/ox-html.el (org-html-headline): Add new property
>> HTML_HEADLINE_CLASS to assign class attribute to headline.
>
> Doesn't CUSTOM_ID already fit the bill?
Good morning,
I plan to use that for a table-of-contents plugin [1] of reveal.js,
which looks for class attributes inside h-elements to exclude them
selectively.
Best wishes
Jens
[1] https://github.com/e-gor/Reveal.js-TOC-Progress
next prev parent reply other threads:[~2018-12-03 6:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-02 18:25 PATCH: Allow class attribute for headline in HTML export Jens Lechtenboerger
2018-12-02 19:29 ` Jens Lechtenboerger
2018-12-02 20:20 ` Nicolas Goaziou
2018-12-03 6:46 ` Jens Lechtenboerger [this message]
2018-12-04 10:21 ` Nicolas Goaziou
2018-12-04 10:46 ` Jens Lechtenboerger
2018-12-08 11:46 ` Nicolas Goaziou
2018-12-08 15:04 ` Jens Lechtenboerger
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tvjvds5w.fsf@wi.uni-muenster.de \
--to=lechten@wi.uni-muenster.de \
--cc=emacs-orgmode@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).