emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Aaron Ecay <aaronecay@gmail.com>
To: Kaushal Modi <kaushal.modi@gmail.com>,
	emacs-org list <emacs-orgmode@gnu.org>
Subject: Re: RFC: Proposal for an Org Special Block for ox-html
Date: Thu, 24 May 2018 20:08:09 +0100	[thread overview]
Message-ID: <87in7c7tye.fsf@gmail.com> (raw)
In-Reply-To: <CAFyQvY1pNWwp0-fh77B1JFRbrQoCkW8FNTsZgfquCCixhq_wUA@mail.gmail.com>

Hi Kaushal,

2018ko maiatzak 24an, Kaushal Modi-ek idatzi zuen:
> 
> Yes, the proposal though supports these 2 things specific to details
> element:
> 
> 1. Detecting "open" attribute via "#+attr_html: open".

Is it important for open to be a “bare” attribute (not sure of the
official name) like “<details open>” as opposed to “<details
open="open">”?  The latter form is already supported (in fact the second
“open” can be any string).  Just add

#+attr_html: :open any-string-you-want

above the block.

> > 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".

The only thing I know off the top of my head is that CSS can be quite
hairy, so I would not be surprised if this wrapper is sometimes needed.
And indeed, support for it would be missing.  Is it something that is
likely to crop up for other elements as well, such that it would be
desirable to support it in org core?  (This is at least partly me
wondering out loud, no need to specifically answer unless something
particularly occurs to you one way or the other.)

-- 
Aaron Ecay

  reply	other threads:[~2018-05-24 19:08 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
2018-05-24 19:08         ` Aaron Ecay [this message]
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=87in7c7tye.fsf@gmail.com \
    --to=aaronecay@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=kaushal.modi@gmail.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 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).