#WORLD4CH'S POST FORMATTING GUIDE
[b] bold example
[u] underline example
[i] italic example
[o] overline example
[s] strikethrough example
[m] courier text example
[code] preserves syntax for code and colors text
For green text in code put a word in quotes "example"
for red put a # before the word #example
[spoiler] for spoilers example
[sup] makes text progressively smaller higher on the line exampleexample
[sub] makes text progressively smaller lower on the line exampleexample [sup] and [sub] can be used for nesting too
[aa] For SJIS art. example
For ASCII art use [m] tag.
To quote put "> " on a new line, ignore the quotations but do keep the space.everything typed on that line will be quoted example
To multiquote put a space after the '>'s below"
>first line[o]
other
lines
then
>[/o]
It becomes; first line
then
other
lines
then
To do epic quotes add a space after the '>'s below:
>I'm[o]
>a[o]
>expert[o]
>quote[o]
[/o]lol[/o]lol[/o]lol[/o]
It becomes: I'm a epic quote lollollol
[#] Ignores all BBcode tags inside it
[rem] hides all text inside it
[br] gives you a line break. Don't close this tag
Name:
Anonymous2010-03-21 8:33
>>3
Epic Win!!! var CPP_KEYWORDS = "abstract bool break case catch char class const " +
"const_cast continue default delete deprecated dllexport dllimport do " +
"double dynamic_cast else enum explicit extern false float for friend " +
"goto if inline int long mutable naked namespace new noinline noreturn " +
"nothrow novtable operator private property protected public register " +
"reinterpret_cast return selectany short signed sizeof static " +
"static_cast struct switch template this thread throw true try typedef " +
"typeid typename union unsigned using declaration, directive uuid " +
"virtual void volatile while typeof";
var CSHARP_KEYWORDS = "as base by byte checked decimal delegate descending " +
"event finally fixed foreach from group implicit in interface internal " +
"into is lock null object out override orderby params readonly ref sbyte " +
"sealed stackalloc string select uint ulong unchecked unsafe ushort var";
var JAVA_KEYWORDS = "package synchronized boolean implements import throws " +
"instanceof transient extends final strictfp native super";
var JSCRIPT_KEYWORDS = "debugger export function with NaN Infinity";
var PERL_KEYWORDS = "require sub unless until use elsif BEGIN END";
var PYTHON_KEYWORDS = "and assert def del elif except exec global lambda " +
"not or pass print raise yield False True None";
var RUBY_KEYWORDS = "then end begin rescue ensure module when undef next " +
"redo retry alias defined";
var SH_KEYWORDS = "done fi";
var LISP_KEYWORDS = "defun";
I hacked this from 4chan last year. Have fun, it is the list of words that appear in either blue (lowercase) or purple (uppercase).
Also this: var preceders = [
"!", "!=", "!==", "#", "%", "%=", "&", "&&", "&&=",
"&=", "(", "*", "*=", /* "+", */ "+=", ",", /* "-", */ "-=",
"->", /*".", "..", "...", handled below */ "/", "/=", ":", "::", ";",
"<", "<<", "<<=", "<=", "=", "==", "===", ">",
">=", ">>", ">>=", ">>>", ">>>=", "?", "@", "[",
"^", "^=", "^^", "^^=", "{", "|", "|=", "||",
"||=", "~", "break", "case", "continue", "delete",
"do", "else", "finally", "instanceof",
"return", "throw", "try", "typeof"
];
var pattern = '(?:' +
'(?:(?:^|[^0-9\.])\\.{1,3})|' + // a dot that's not part of a number
'(?:(?:^|[^\\+])\\+)|' + // allow + but not ++
'(?:(?:^|[^\\-])-)' // allow - but not --