AgregoreWeb / extension-agregore-renderer

A generalized Markdown/Gemini/ETC content renderer for Agregore. Replaces the old Markdown/Gemini renderers
GNU Affero General Public License v3.0
1 stars 4 forks source link

Make sections in JSON collapsable #4

Closed RangerMauve closed 2 years ago

RangerMauve commented 2 years ago

We should use the details HTML element to surround lists/objects so that they can be quickly collapsed. We should probably have an empty summary element so that just the arrow shows up for collapsing (how do screen readers feel about this?)

RangerMauve commented 2 years ago

I decided to remove this after adding it in because I couldn't figure out how to make it look nice. Ended up adding a bunch of redundant sections all over the place and caused more harm than good.