Comments (4)
Thanks @Nidish96 .
Yes, that could be possible. Though, this is not the foreseen behavior by default. Hence, you should slightly adapt the JS code on your side.
from org-html-themes.
Thanks for the quick response - is it possible to do this by including a #+INFOJS_OPT:
in the org file without having to modify the JS code?
from org-html-themes.
I don't know (yet) that option... Give it a try, indeed.
And come back with your results. An example could be welcomed in the README.org file...
from org-html-themes.
Okay, the closest I could come is by using the export blocks in org. Here's what I did to get this to work (after looking at the relevant variable in https://github.com/fniessen/org-html-themes/blob/master/src/bigblow_theme/js/hideshow.js ):
#+BEGIN_EXPORT html
<script>var HS_STARTUP_FOLDED = true;</script>
#+END_EXPORT
Adding this to my org file exports in a way such that all the subsections are folded by default.
from org-html-themes.
Related Issues (20)
- Lua and Vim are not syntax Highlighted HOT 1
- Adding a searchbar to bigblow theme? HOT 1
- Year formatting issue in Emacs 27 in readtheorg theme HOT 1
- License Magnet Displayed on top of the ReadTheOrg Theme HOT 2
- Background only extends until viewport height and TOC doesn't fold/unfold
- Code labels no longer highlighted on mouseover (i.e., "(ref:sc)" links) HOT 2
- How to customize appearance of comments in code blocks?
- Bigblow Local Links Only Work In Firefox HOT 3
- The display of admonition is strange HOT 3
- UP | HOME covered by table of contents in ReadTheOrg theme HOT 1
- Provide online compiled version of the demo docs with the different styles
- SRC source code [copy] event won't work with bigblow HOT 3
- Content of minitoc "In this section" empty with bigblow
- Support translations for `#+begin_note` and similar blocks
- ReadTheOrg theme: change text of "Table of Contents" sidebar to something else HOT 3
- Table header has white text on white background HOT 1
- Make code block line numbers none user selectable. HOT 1
- Bigblow theme: Collapsing and expanding sections with the mouse doesn't work (any longer) HOT 5
- Bigblow: Keyboard shortcut b not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from org-html-themes.