Ihor Radchenko <[email protected]> writes:
> And that firefox bug has been fixed and "Added to the Fx139 relnotes."
> So, we can make use of #+begin_details ... #+end_details if we enable
> fancy HTML5 export for WORG.
Worg has html5-fancy on by default (worg/publish.sh), so we
should be good to go (not tested).
Nesting =#+begin_summary= inside a =#+begin_details= block creates a
newline, though, and in Firefox, the newline separates the collapse/expand arrow
from the summary text, which is a bad look.
This works:
#+begin_details
@@html:<summary>@@
I have keys but no doors. I have space but no room. You can enter but
can’t
leave. What am I?
@@html:</summary>@@
A keyboard.
#+end_details
A bit nicer:
#+macro: summary @@html:<summary>$1</summary>@@
#+begin_details
{{{summary(I have keys but no doors. I have space but no room. You can
enter but can’t leave. What am I?)}}}
A keyboard.
#+end_details
Yours,
Christian