I'd like to create a collapsible block (examples, quotes, codes, ...) when exporting an org file to HTML. Also I'd like to have a way to show the block(button? keystroks?). How can I do this?
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.Sign up to join this community
Found a possible solution by using https://alhassy.github.io/org-special-block-extras/#Folded-Details
#+begin_details "Click to see dummy code" #+begin_src elisp (message "Dummy code") #+end_src #+end_details