Feature: Collapse Details of a Mattermost Message using <details> or similar markup as in github markdown
Author: stefan123tCreated Sep 11, 2026Updated Sep 11, 2026
I would like to paste extended code sections or details in my markdown messages using Mattermost.
Currently there is no way to hide detailled debugging content from other users by default.
Github Markdown allows this using /details and /code,
<details><summary>Details</summary>
<p>
</p>
</details> Note: In Github the <details open> attribute marks a collapsible section which is default expanded (as presented in the above example).
Source: mattermost/mattermost