Page 1 of 1

Spoilers code

PostPosted: Mon Aug 15, 2005 4:32 pm
by dinky
hey hey spud dawg. I loved the way spoiler code looks bracketed inside a quote cell. is it possible to make that a part of the code to begin with instead of creating a quote field and then adding spoilers?

so to get the spoiler to look like this:
I love chicken.....chicken's gud.............................................blah blah blah blah blah

all you'd have to type is this:
Code: Select all
[s]I love chicken.....chicken's gud.............................................blah blah blah blah blah[/s]


instead of this:
Code: Select all
[quote][s]I love chicken.....chicken's gud.............................................blah blah blah blah blah[/s][/quote]


but instead of the cell being "quote" or "code," it's "spoilers"

that'd be cooli. but iunno shit about implementing it. 8)

PostPosted: Mon Aug 15, 2005 10:43 pm
by spudthedestroyer
problem is that would totally fuckup midline spoilers. You wouldn't be able to do this without it inserting line breaks.


I could do:
Code: Select all
[spoiler][/spoiler]

Tags which do that though with relative ease.

PostPosted: Mon Aug 15, 2005 11:27 pm
by dinky
I'd prefer spoilers be bracketed by quotes all the time just cuz you can see them and not hover over it. but
Code: Select all
 [spoilers] [/spoilers]

definitely does the trick.

PostPosted: Tue Aug 16, 2005 12:59 am
by spudthedestroyer
Okay:
Spoiler:
this is working?


Can be acheived via:
Code: Select all
[spoiler][/spoiler]

PostPosted: Tue Aug 16, 2005 1:39 am
by dinky
sweet! nice work. 8)

PostPosted: Tue Aug 16, 2005 5:15 am
by Jynks
Spoiler:
Good Job