1
$\begingroup$

Is is possible to make a spoiler space with a numbererd list inside?

! Here is what I have tried:

! 1. The first. ! 2. The second.

or

Here is what I have tried: 1. The first. 2. The second.

or

! Here is what I have tried: 1. The first. 2. The second.

or

Here is what I have tried: 1. The first. 2. The second.

But nothing works... I guess it is a bug.

Edit. The solution provided in this answer mentioned by quid works fine for pure text like above:

Here is the proposed workaround:

 1. The first.
 2. The second.

but has a problem with formulae:

Here is the proposed workaround:

 1. The first $n$.
 2. The second $k$.

$\endgroup$
4
$\begingroup$

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:

Here is the proposed workaround:

1. The first $n$.
2. The second $k$.

$\endgroup$
  • $\begingroup$ This doesn't make list as list, but it wasn't an end in itself. $\endgroup$ – Smylic May 2 '17 at 9:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .