Is there a way to export a .org file into an html that supports expanding and collapsing titles?

What I want is to be able to press a key like TAB and expand and collapse the outline, but on a html site.

Github wikis support orgmode but they don't seem to allow expanding and collapsing of titles.


What you are looking for is org-info.js, a JavaScript library to be used in conjunction with HTML files generated from Org. This library adds support for folding, navigation, etc.

Take a look at http://orgmode.org/manual/JavaScript-support.html, and the more detailed documentation here: http://orgmode.org/worg/code/org-info-js/.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.