So, I’ve made this details widget that pairs well with tables and lists,
(well- one’s that are set to use 14px font-size and 22px line-height…)
When I use it though, I can’t place one inside another any deeper than two levels.
for instance:
<<jmh-details 'open'
'Summary Level 1'
'''
<<jmh-details "open"
"Summary Level 2"
"""
Placing another inside would cause them to break.
"""
>>
'''
>>
Is there a way to fix this, or is it just the trade off of the convenience of widgets?
I’ve attached the related files for those who want to see how I have it set up. I still have more to improve on, for instance, I need to change the values to use the font-size set in the tiddler, as having font that isn’t 14px causes the <details>
to not connect to tables.
jmh-details_Tiddlers.json (1.7 KB)