Right now, I have a few different userstyles that i rename to change features, and then restart joplin to reload the new stylesheet. A good example of this is I have one stylesheet for automatically numbered headings, and one without.
With this use case in mind, I have two feature ideas:
A feature to be able to reload stylesheet from Joplin settings without restarting would save me a lot of time.
And my second, more involved request is:
Add a settings toggle that controls active sections of CSS and reload the stylesheet using these altered sections. I’m not a web developer, but here what I’m envisioning:
Settings would have multiple userinputs of editable toggles.
- [ ] (userinput)
For my use case described before, I could put in numbered-headings
and check the toggle. The rendered markdown would change to be:
<body class="numbered-headings">
I could use this in my userstyle with:
body.numbered-headings {
/* css to number headings */
}
Reloading style sheets from within the app is necessary to get this feature to work, and I think stylesheets aren’t really even officially supported, but this ability would make Joplin styling a killer feature.