From: Kaushal Modi <kaushal.modi@gmail.com>
To: emacs-org list <emacs-orgmode@gnu.org>
Subject: Re: RFC: Proposal for an Org Special Block for ox-html
Date: Thu, 24 May 2018 14:47:29 -0400 [thread overview]
Message-ID: <CAFyQvY1pNWwp0-fh77B1JFRbrQoCkW8FNTsZgfquCCixhq_wUA@mail.gmail.com> (raw)
In-Reply-To: <87lgc87vf1.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1262 bytes --]
Hi Aaron,
On Thu, May 24, 2018 at 2:36 PM Aaron Ecay <aaronecay@gmail.com> wrote:
>
> I wasnʼt thinking about multiparagraph summaries. But actually, I
> realize that your suggestion in response would work with only one small
> change to a variable in ox-html.
Yes, the proposal though supports these 2 things specific to details
element:
1. Detecting "open" attribute via "#+attr_html: open".
2. Adding a wrapper <p class="details"> tag around the details portion
following the <summary> tag. Useful if user wants to set CSS rules for
"details .details".
> Assuming there are no objections, we could make this tweak to
> ‘org-html-html5-elements’ in org core.
I don't mind adding that to ox-html. Just that the details disclosure
implementation will be /slightly/ incomplete, but still very functional.
I think “syntactic sugar” like
> your original proposal could be implemented as a before-parsing-hook
> that transforms the --- into the above syntax.
>
+1
> PS Once upon a time, I created ox-extras in contrib as a home for little
> snippets like this hypothetical before-parsing-hook. It never really
> took off, but maybe itʼs just biding its time...
>
Sure thing :)
--
Kaushal Modi
[-- Attachment #2: Type: text/html, Size: 2182 bytes --]
next prev parent reply other threads:[~2018-05-24 18:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-24 13:40 RFC: Proposal for an Org Special Block for ox-html Kaushal Modi
2018-05-24 17:41 ` Aaron Ecay
2018-05-24 18:08 ` Kaushal Modi
2018-05-24 18:28 ` Kaushal Modi
2018-05-24 18:36 ` Aaron Ecay
2018-05-24 18:47 ` Kaushal Modi [this message]
2018-05-24 19:08 ` Aaron Ecay
2018-05-24 19:25 ` Kaushal Modi
2018-05-25 14:19 ` Aaron Ecay
2018-05-25 15:09 ` Kaushal Modi
2018-05-25 16:38 ` Kaushal Modi
2018-05-27 16:21 ` Aaron Ecay
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=CAFyQvY1pNWwp0-fh77B1JFRbrQoCkW8FNTsZgfquCCixhq_wUA@mail.gmail.com \
--to=kaushal.modi@gmail.com \
--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).