Ah yep, that's the work-around I've been using ...
# chat
h
Ah yep, that's the work-around I've been using for a while, just
<details><summary></summary></details>
. It works in Obsidian and Typora too, though you'd need to bind the snippet via Autohotkey or another tool. It will work when published because it's HTML code, and Markdown gets converted to HTML when it's rendered. You can collapse tables that way too.