A helpful note about the Spoiler Code

Started by Dullstar, October 28, 2009, 09:46:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dullstar

The most commonly used spoiler code is
Code: [Select]
Quote from: Spoiler:  Highlight to read                 
Note that the List code
Code: [Select]

  •        
  •        
doesn't work with this spoiler code.  I do not know about the other colour codes, but I imagine it is the same thing there.

Also, an easy way to remember that code:  "deetef" (add in # and change t to 7).  Before someone suggested this, I could never remember what the code was.

ccexplore

You could still make it work but it's more tedious.  Seems like you need to put the "color" tags inside the "li" tags, for each list item, instead of surrounding the entire "list" with the "color" tag.  In other words:

Code: [Select]
Quote from: Spoiler:  Highlight to read

  • blah
  • blah

(result)

Quote from: Spoiler:  Highlight to read
  • blah
  • blah

The bullet points themselves will not be hidden but the text inside the "color" tags will be.  Of course, given the tedium, you might be better off just giving up on the "list" code and resort to make the list entirely text-based:

- blah
- blah