stackedit icon indicating copy to clipboard operation
stackedit copied to clipboard

Feature Request: Collapse Text with <details> and <summary>

Open BakenhusMN opened this issue 7 years ago • 4 comments

Hello Stackedit Team,

I guess the title is pretty much self-explaining. I would really appreciate a hiding code function like <details> and <summary> in HTML.

Thanks in advance,

Cya

BakenhusMN avatar Jul 03 '18 09:07 BakenhusMN

That would be really cool indeed!

flxwu avatar Aug 20 '18 08:08 flxwu

@BakenhusMN and @flxwu : I have a code sample that works with hackmd.io. It might be a while before this functionality is implement with stackedit.

https://hackmd.io/@C9lnmL6PRJqQYA6IBCZPfg/HJ8HC_6G8

waellerbe avatar Feb 09 '20 13:02 waellerbe

Dupe of #1252 (it's a shame this isn't natively implemented yet)

stevenwdv avatar Oct 07 '21 09:10 stevenwdv

I solved this by custom template, please check gist https://gist.github.com/lovemyliwu/8aacb06a00ec1cda5abe1e557b80fc20

lovemyliwu avatar May 01 '23 17:05 lovemyliwu