Created
May 12, 2023 01:43
-
-
Save nuadaria/2dc07e3ad753bee47c48f246e09025ec to your computer and use it in GitHub Desktop.
For implementation of nest-able accordions on Obsidian Portal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(".accordion").accordion({ | |
header: "> h3:not(.item)", | |
heightStyle: "content", | |
active: false, | |
collapsible: true | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Requires HTML from here in order to work. Add this to either of the Custom JavaScript fields in Advanced for your campaign's Settings.