0

I have a heading "Project" in my generated website which looks something like this:

* Projects  
- Project A: Intro about the project 
    - In detail about Project A (has a couple of paragraphs)
- Project B: Intro about the project 
    - In detail about Project B (has a couple of paragraphs and images)

So, I want it to collapse to just show

* Projects  
- Project A: Intro about the project 
- Project B: Intro about the project 

And on clicking Project A, it should show the details of Project A and so on.

Is there a way of doing it using Emacs to generate the website?

Drew
  • 75,699
  • 9
  • 109
  • 225
  • You need Javascript to do this kind of thing. Emacs can only go so far. – NickD Mar 01 '23 at 03:36
  • 1
    Although, I guess [org-info-js](https://orgmode.org/manual/JavaScript-support.html) its [plain view mode](https://orgmode.org/worg/code/org-info-js/#terms) is probably not an acceptable alternative (solution) here, I still would like to mention it (to be sure). – dalanicolai Mar 01 '23 at 08:57

0 Answers0