// ----------------------------------------------------------------------------
// markItUp!
// ----------------------------------------------------------------------------
// Copyright (C) 2008 Jay Salvat
// http://markitup.jaysalvat.com/
// ----------------------------------------------------------------------------
// BBCode tags example
// http://en.wikipedia.org/wiki/Bbcode
// ----------------------------------------------------------------------------
// Feel free to add more tags
// ----------------------------------------------------------------------------
mySettings = {
	previewParserPath:	'', // path to your BBCode parser
	markupSet: [
		{name:'Bold', key:'B', openWith:'[b]', closeWith:'[/b]'},
		{name:'Italic', key:'I', openWith:'[i]', closeWith:'[/i]'},
		{name:'Underline', key:'U', openWith:'[u]', closeWith:'[/u]'},
		{separator:'---------------' },
		{name:'Picture', key:'P', replaceWith:'[img][![Url]!][/img]'},
		{name:'Thumbnail', replaceWith:'[thumbs]\n[thumb title="[![Title]!]" caption="[![Caption]!]"][![Url]!][/thumb]\n[/thumbs]'},
		{name:'Link', key:'L', openWith:'[url=[![Url]!]]', closeWith:'[/url]', placeHolder:'Your text to link here...'},
		{separator:'---------------' },
		{name:'Colors', openWith:'[color=[![Color]!]]', closeWith:'[/color]', dropMenu: [
          {name:'Yellow', openWith:'[color=yellow]', closeWith:'[/color]', className:"col1-1" },
          {name:'Orange', openWith:'[color=orange]', closeWith:'[/color]', className:"col1-2" },
          {name:'Red', openWith:'[color=red]', closeWith:'[/color]', className:"col1-3" },
          {name:'Blue', openWith:'[color=blue]', closeWith:'[/color]', className:"col2-1" },
          {name:'Purple', openWith:'[color=purple]', closeWith:'[/color]', className:"col2-2" },
          {name:'Green', openWith:'[color=green]', closeWith:'[/color]', className:"col2-3" },
          {name:'White', openWith:'[color=white]', closeWith:'[/color]', className:"col3-1" },
          {name:'Gray', openWith:'[color=gray]', closeWith:'[/color]', className:"col3-2" },
          {name:'Black', openWith:'[color=black]', closeWith:'[/color]', className:"col3-3" }
	      ]},
		{name:'Size', key:'S', openWith:'[size=[![Text size]!]]', closeWith:'[/size]',
		dropMenu :[
			{name:'Big', openWith:'[size=7]', closeWith:'[/size]' },
			{name:'Normal', openWith:'[size=3]', closeWith:'[/size]' },
			{name:'Small', openWith:'[size=1]', closeWith:'[/size]' }
		]},
		{separator:'---------------' },
		{name:'Emoticons', dropMenu: [
          {name:'8)', replaceWith:'8) ', className:"col1-1" },
          {name:'=)', replaceWith:'=) ', className:"col1-2" },
          {name:';huh', replaceWith:';huh ', className:"col1-3" },
          {name:':)', replaceWith:':) ', className:"col1-4" },
          {name:':P', replaceWith:':P ', className:"col1-5" },
          {name:';P', replaceWith:';P ', className:"col1-6" },
          
          {name:':D', replaceWith:':D ', className:"col2-1" },
          {name:':(', replaceWith:':( ', className:"col2-2" },
          {name:':S', replaceWith:':S ', className:"col2-3" },
          {name:'<3', replaceWith:'<3 ', className:"col2-4" },
          {name:'>_<', replaceWith:'>_< ', className:"col2-5" },
          {name:'O_o', replaceWith:'O_o ', className:"col2-6" },
          
          {name:':@', replaceWith:':@ ', className:"col3-1" },
          {name:'=@', replaceWith:'=@ ', className:"col3-2" },
          {name:';bored', replaceWith:';bored ', className:"col3-3" },
          {name:';sleepy', replaceWith:';sleepy ', className:"col3-4" },
          {name:';?', replaceWith:';? ', className:"col3-5" },
          {name:';cry', replaceWith:';cry ', className:"col3-6" },
          
          {name:';grr', replaceWith:';grr ', className:"col4-1" },
          {name:';drool', replaceWith:';drool ', className:"col4-2" },
          {name:';glare', replaceWith:';glare ', className:"col4-3" },
          {name:';thumbdown', replaceWith:';thumbdown ', className:"col4-4" },
          {name:';thumbup', replaceWith:';thumbup ', className:"col4-5" },
          {name:':O', replaceWith:':O ', className:"col4-6" },
          
          {name:';mellow', replaceWith:';mellow ', className:"col5-1" },
          {name:';scared', replaceWith:';scared ', className:"col5-2" },
          {name:';)', replaceWith:';) ', className:"col5-3" },
          {name:';w00t', replaceWith:';w00t ', className:"col5-4" },
          {name:'rofl', replaceWith:'rofl ', className:"col5-5" },
          {name:';lol', replaceWith:';lol ', className:"col5-6" },
          
          {name:';sneaky', replaceWith:';sneaky ', className:"col6-1" },
          {name:'phew', replaceWith:'phew ', className:"col6-2" },
          {name:'drink', replaceWith:'drink ', className:"col6-3" },
          {name:';sleeping', replaceWith:';sleeping ', className:"col6-4" },
          {name:'smurf', replaceWith:'smurf ', className:"col6-5" },
	      ]},
		{separator:'---------------' },
		{name:'Bulleted list', openWith:'[list]\n', closeWith:'\n[/list]'},
		{name:'Numeric list', openWith:'[list=[![Starting number]!]]\n', closeWith:'\n[/list]'}, 
		{name:'List item', openWith:'[*] '},
		{separator:'---------------' },
		{name:'Quotes', openWith:'[quote]', closeWith:'[/quote]'},
		{name:'Code', openWith:'[code]', closeWith:'[/code]'}, 
		{separator:'---------------' },
		{name:'Preview', className:"preview", call:'preview' }
	]
}