Hello, I’m looking to add collapsible sections to my Confluence pages. I tried using the following tags in a Markdown file:
<details> <summary>Click here to expand…</summary> </details>
However, this doesn’t seem to work once I push the Markdown file to Confluence. It displays as plain text instead of creating a collapsible section.
Is there a recommended way to create collapsible sections in Confluence, or any workaround for achieving this functionality? Any advice would be greatly appreciated!
Note: I'm trying to achieve this by updating a .md
file and pushing it to Confluence using a Python script.
@Evgenii Thanks for the suggestion. Just wondering is there any way to achieve this directly in Markdown by embedding the expand macro?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If in a few words, then the answer to your question is: no.
According to Atlassian Markdown syntax guide documentation, you can use only limited Markdown for formatting text.
In the doc above you can find the syntax you can use in your markdown.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.