// ----------------------------------------------------------------------------
// markItUp!
// ----------------------------------------------------------------------------
// Copyright (C) 2007 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]'}, 
	  {separator:'---------------' },
	  {name:'Link', key:'L', openWith:'[url=[![Url]!]]', closeWith:'[/url]', placeHolder:'Your text to link here...'},
	  {separator:'---------------' },
	  {name:'Quotes', openWith:'[quote]', closeWith:'[/quote]'}, 
	  {name:'Code', openWith:'[code]', closeWith:'[/code]'}, 
	  {separator:'---------------' },
	  {name:'Clean', className:"clean", replaceWith:function(h) { return h.selection.replace(/\[(.*?)\]/g, "") } }
   ]
}