// ----------------------------------------------------------------------------
// markItUp!
// ----------------------------------------------------------------------------
// Copyright (C) 2008 Jay Salvat
// http://markitup.jaysalvat.com/
// ----------------------------------------------------------------------------
// Html tags
// http://en.wikipedia.org/wiki/html
// ----------------------------------------------------------------------------
// Basic set. Feel free to add more tags
// ----------------------------------------------------------------------------
myBbcodeSettings = {
  nameSpace:          "bbcode", // Useful to prevent multi-instances CSS conflict
  previewParserPath:  "~/sets/bbcode/preview.php",
  markupSet: [
		{name:'Bold', key:'B', openWith:'b[', closeWith:']b', className: 'b_bold'},
		{name:'Italic', key:'I', openWith:'i[', closeWith:']i', className: 'b_italics'},
		{name:'Underline', key:'U', openWith:'u[', closeWith:']u', className: 'b_underline'},
		{name:'Striketrough', key:'S', openWith:'-[', closeWith:']-', className: 'b_striketrough'},
		{separator:'---------------' },
		{name:'Email', key:'E', replaceWith:'mail[[![Email]!]]mail', className: 'b_email'},
		{separator:'---------------' },
		{name:'Quotes', openWith:'quote[[![Quoted Player]!]][', closeWith:']quote', className: 'b_quotes'},
		{name:'Spoiler', key:'H', openWith:'spoiler[', closeWith:']spoiler', className: 'b_spoiler'},
//		{separator:'---------------' },
//		{name:'Clean', className:"clean", replaceWith:function(markitup) { return markitup.selection.replace(/\[(.*?)\]/g, "") } },
//		{name:'Preview', className:"preview", call:'preview' }
	]
}