We’re rewarding the question askers & reputations are being recalculated! Read more.
21

The toggle button functionality is more or less available through the MathJAX extension action. Though it is more suitable for displaying alternate math formulas instead of displaying a paragraph of text. Personally, I can't think of any good way to utilize this functionality. $$\require{action} \toggle{ \begin{array}{cl} & \bbox[2pt,color:red;border-...


18

You can begin every line with >! and end it with two spaces.  


16

A work around is to put all the math on one "line". >! \begin{align} x &= 42 \end{align} Gives I think the reason is that to solve other bugs, once you enter a math environment the MarkDown stop getting processed. So the >! that appears before and after x&= 42 are considered by the software as part of the math environment, and not part of ...


11

It works if you don't try to include linebreaks in the MathJax. I took out the linebreaks and it works fine. Do the whole thing on one line.


11

Clicking a hint makes it stay visible even when the mouse stops hovering it (clicking it again makes it fade again). Thus one can click the first hint, and only then click the second. Hierarchical hints (or a horrifying mathjax hack) are not necessary.


8

I've gone an updated the CSS for spoilers - there was something overriding the spoiler CSS in this instance. With you in the next build (rev. 2017.3.14.*)


8

This seems to work. (Instead of <br> you can simply use two spaces, if you prefer.) >! If $K=1-\frac{K_1}{2K_2}$ then clearly $K<1$.<br> >! Let $\lambda=\frac1{2K_2}$ so $K=1-\lambda K_1$.<br> >! Then $0\le\frac12=1-\frac12=1-\lambda K_2\le1-\lambda F'(c)\leq1-\lambda K_1=K<1$.<br> This was the suggestion from an ...


6

It seems to be that if you do >! at the beginning of a line, you get that. You could have found that out by clicking edit post and looking at the source. for example.


6

You can see how I did this below. Note that there is no use of mathjax or some other side-channel approach. >! This is a line. >! >! This is another line. Take careful notice the pairs of spaces at the end of lines, which is quite important.


5

If you ever want to do such, I would recommend the alternative format: >! \begin{align} a=b \\ b=c \\ c=d \end{align} This allows multiple lines, as well as allowing preview while editing. The problem occurs any time you attempt to do dollar signs with multi-line spoilers. One may also wish to implement another approach: >! $$ a=b \\ b=c \\ c=d$$ ...


4

You can use a double space at the end of each line to force a newline: >! Here is the proposed workaround: >! >! 1. The first $n$. >! 2. The second $k$. This will preserve the formulas as well:


4

I don't know why you're using colored text in spoiler blocks, but the obvious solution here is to just not use colored text in spoiler blocks. Spoilers are fairly reader-hostile by-design, so if something about them strikes you as odd perhaps you could just skip using them entirely.


3

$$\Huge\href{http://rot13.com}{\textbf{ebg13}}$$


3

This will be fixed in the next build. When doing a preview, transformations are run on the rendered HTML, looking for a ! at the beginning of lines in a <blockquote>, stripping them out, and adding the spoiler style. This boils down to code somewhere that ran html.replace('! $$a = b$$', '$$a = b$$'). Unfortunately, because JavaScript overloads ...


3

Write the source on a single line: >! \begin{align*} 0 &= 1^2 - 1^3 \\ 4 + 1 &= 5 \\ 6 - 7 &= -1\end{align*} produces


1

Good joke on me. Evidently the bug only affects the editing preview. When the post is actually posted, it appears as expected. (If you click "edit" on my question and look at the preview, you'll see the problem I thought was present.) Still would be nice to get fixed but hardly vital.


Only top voted, non community-wiki answers of a minimum length are eligible