Max Nikulin <maniku...@gmail.com> writes: >>>> FAQ is probably fine. We may add a CSS there that will fold the >>>> answers by default. > ... >> They suggest a combination of <details><summary> to keep hidden text >> searchable. See >> https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary > > Unsupported by Firefox: > > https://bugzilla.mozilla.org/show_bug.cgi?id=1724299 > Implement auto-expanding <details> > > I am unsure if it is possible to implement auto-expanding on link to > specific question for Firefox. > > However <details> is better than accordions in most cases. > > I would consider to put TOC into <details open>
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. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>