I want indented text to be collapsible in read mode

What I’m trying to do

In edit mode, when you indent a line underneath another, you get a sort of dropdown arrow to the left of the top line that you can click to expand/collapse all the indented text.

Is there a way of doing this in read mode as well?

Things I have tried

I’ve tried searching around for anyone having the same issue, but have come up empty-handed.

I think the collapse chevron > created with writing something like this:


is just a live preview quirk. If you switch to reading view you’ll notice the spaces are taken out, it has no chevron, and looks like this:


If you want to create collapsible sections that you can use in editing and reading views, you can put the item(s) in a list or under a heading like this:

- hi
	- hello


## how are you?

great! nice to meet you!

Thank you so much, I didn’t think to use headers
That’s what I wanted

1 Like

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