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>.