LaTeX breaks in spoiler boxes?

I like to use hidden Q&A boxes in my documents as follows:

What is the answer to the ultimate question of life, the universe, and everything?


However, when I try using LaTeX in these boxes it does not work. For instance, the following code will not render as desired.

		 What's the inverse for $x\mapsto e^x$? 
		The inverse to $x\mapsto e^x$ is the logarithm. 

Wheras $x\mapsto e^x$ would render perfectly outside of the box.

A somewhat related issue seems to be that the environment does not respect linebreaks in the same way as the plain editor. (Instead I have to use <br>.)

we don’t support intermixing html and markdown

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