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: Tue, 04 Dec 2018 11:46:22 +0100 [thread overview]
Message-ID: <87o9a1wow1.fsf@wi.uni-muenster.de> (raw)
In-Reply-To: <87tvjtiocd.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Tue, 4 Dec 2018 11:21:54 +0100")
Hello,
On 2018-12-04, Nicolas Goaziou wrote:
> Jens Lechtenboerger <lechten@wi.uni-muenster.de> writes:
>
>> 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.
>
> Then I suggest to submit it to "ox-reveal"
> (https://github.com/yjwen/org-reveal/) instead.
Function org-reveal-headline calls org-html-headline to generate
h-elements. Of course, I could parse the generated HTML in
ox-reveal and add a class attribute based on org properties, but
doing so in ox-html seems much cleaner to me. (Besides, given the
current situation of ox-reveal [1], that change would only make it
into my fork, not into the original project.)
Best wishes
Jens
[1] https://github.com/yjwen/org-reveal/issues/349
next prev parent reply other threads:[~2018-12-04 10: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
2018-12-04 10:21 ` Nicolas Goaziou
2018-12-04 10:46 ` Jens Lechtenboerger [this message]
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=87o9a1wow1.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).