You have to type the code before and after the item you want inside the spoiler. If I type it correctly now, you won't see the code, just the spoiler, so I am including the symbol #. Type the following without the #
then whatever you want in here.
That / indicates the end of whatever code you're using.