// ----------------------------------------------------------------------------
// 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:'Vetgedrukt', key:'B', openWith:'[b]', closeWith:'[/b]'},
		{name:'Schuin', key:'I', openWith:'[i]', closeWith:'[/i]'},
		{name:'Onderstreept', key:'U', openWith:'[u]', closeWith:'[/u]'},
		{separator:'---------------' },
		{name:'Afbeelding', key:'P', replaceWith:'[img][![Url]!][/img]'},
		{name:'Link', key:'L', openWith:'[url=[![Url]!]]', closeWith:'[/url]', placeHolder:'De linktekst komt hier...'},
		{separator:'---------------' },
		{name:'Emoticons', openWith:'', closeWith:'', dropMenu: [
          {name:'Smile', openWith:':)', closeWith:'', className:"col1-1" },
          {name:'Happy', openWith:':D', closeWith:'', className:"col1-2" },
          {name:'Surprised', openWith:':O', closeWith:'', className:"col1-3" },
          {name:'Tongue', openWith:':P', closeWith:'', className:"col2-1" },
          {name:'Unhappy', openWith:':(', closeWith:'', className:"col2-2" },
          {name:'Wink', openWith:';)', closeWith:'', className:"col2-3" }
      	]},
		{separator:'---------------' },
		{name:'Bullet lijst', openWith:'[list]\n', closeWith:'\n[/list]'},
		{name:'Genummerde lijst', openWith:'[list=[![Startnummer]!]]\n', closeWith:'\n[/list]'}, 
		{name:'Lijst item', openWith:'[*] '},
		{separator:'---------------' },
		{name:'Quote', openWith:'[quote]', closeWith:'[/quote]'},
		{name:'Code', openWith:'[code]', closeWith:'[/code]'}, 
		{separator:'---------------' },
		{name:'Opschonen', className:"clean", replaceWith:function(markitup) { return markitup.selection.replace(/\[(.*?)\]/g, "") } },
	]
}
