to categorize things within a single post, I would like to use the [details] tag to create many sub-levels. However, the Discourse code stops interpreting the [details] tag after two sub-levels. Is there any way to work around this or maybe an extra app that can be installed to allow such a functionality?
One trick that I try to teach the users on our site that want to do advanced Markdown or see how some advanced HTML feature was done is to use the raw view of the page.
This is the URL to the preceding post: https://meta.discourse.org/t/more-than-two-levels-of-details/152421/4
This is the URL to the preceding post as raw: https://meta.discourse.org/raw/152421/4
If you look at the columns of the posts table in PostgreSQL you will see there are two columns that hold the text for a post, raw and cooked. raw is the text as entered by a user and typically contains the markdown and HTML as entered by the user.
However when you see the post as normally displayed it has been cooked to some degree and you can not see the raw text, even if you use the Internet browsers ability to reveal the HTML.
Now sometimes one can use the menu items in the edit menu bar to drop some template HTML into place and sometimes you just have to do it by hand.
HTH
EDIT
For all the theme creators.
A theme that adds a button to view the post as raw would be nice. The theme should have a configuration option to limit visibility of button based on trust level or categories.
I thought this would be a good opportunity for a theme component that explains / serves as an example of how to approach a problem like this one, so I made this.