Can't use detail and summary tags in Markdown

Operating system

macOS

Joplin version

3.1.24

Editor

Rich Text Editor

What issue do you have?

I'm trying to create collapsible sections using the Markdown editor to view in the Rich Text editor using the <detail> and <summary> tags. As an example I'm using the below code that I found in a working example on Github:

<details><summary>Toggle me!</summary> Peek a boo!</details>

In Joplin it just isn't working for me - it's displaying as two separate sentences on each line, like this:

▼ Toggle me!
Peek a boo!

But if I view an older version of the note with the same code, it works in the preview window.

Is there anything else I should do?

I have userstyle.css updated to use a different font and color in the Rich Text Editor, but these styles are still used in the preview window for the different versions so I'm not sure what could be the issue.

I figured this out - I was toggling between both editors and not the viewer. It works as expected in the viewer.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.