Collapsible sections in notes?

8 views
Skip to first unread message

Adam Knights

unread,
Feb 2, 2026, 8:50:55 AMFeb 2
to gcd-tech
Hi,

Following on from the character universe debate I thought i'd have a play with adding support for collapsible sections in notes. I wanted to try spec dev with copilot so this was a good use case to generate the screenshots and have a chat about it. - if we want it I'd productionize the code myself.

What it might look like when editing notes:
col1.png
Defaults to open right now, and then if i collapse:
col2.png
And then once approved:
col3.png

Caveats: 1) Syntax of :::collapse (title) up for debate 2) Sub-sections support up for debate 3) Styling would want improving 4) Default to open ok? or give notes writer control of default open / close?

But aside for that, would we want to add something like this?

Cheers
Adam

Jochen G.

unread,
Feb 7, 2026, 5:19:27 AMFeb 7
to gcd-...@googlegroups.com
Not sure if we want this ? In particular, I don't think we want to spend
effort and maintenance a special markdown extension.

It seems to work using detail/summary already
https://gist.github.com/pierrejoubert73/902cc94d79424356a8d20be2b382e1ab
Just enter:
<details open>
<summary>Hello</summary>
World!
</details>

Or use an existing plugin
https://www.npmjs.com/package/markdown-it-collapsible
+++ <visible_text>
<hidden_text>
+++

Jochen

Am 02.02.26 um 14:50 schrieb Adam Knights:
> Hi,
>
> Following on from the character universe debate I thought i'd have a
> play with adding support for collapsible sections in notes. I wanted to
> try spec dev with copilot so this was a good use case to generate the
> screenshots and have a chat about it. - if we want it I'd productionize
> the code myself.
>
> What it might look like when editing notes:
> col1.png
> Defaults to open right now, and then if i collapse:
> col2.png
> And then once approved:
> col3.png
>
> Caveats: 1) Syntax of :::collapse (title) up for debate 2) Sub-sections
> support up for debate 3) Styling would want improving 4) Default to open
> ok? or give notes writer control of default open / close?
>
> But aside for that, would we want to add something like this?
>
> Cheers
> Adam
>
> --
> You received this message because you are subscribed to the Google
> Groups "gcd-tech" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to gcd-tech+u...@googlegroups.com <mailto:gcd-
> tech+uns...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/gcd-
> tech/ce643426-cf0c-440b-bb56-dc591144ccc6n%40googlegroups.com <https://
> groups.google.com/d/msgid/gcd-tech/ce643426-cf0c-440b-bb56-
> dc591144ccc6n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Adam Knights

unread,
Feb 8, 2026, 2:15:38 PMFeb 8
to gcd-tech
Yes, that pretty much solves it thankyou :) - we just need a tweak to allow our gcd_link_* syntax to then work inside those details sections. See one line PR: https://github.com/GrandComicsDatabase/gcd-django/pull/698

Cheers
Adam
Reply all
Reply to author
Forward
0 new messages