// ----------------------------------------------------------------------------
// 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:'Kalın', key:'B', openWith:'[b]', closeWith:'[/b]'},
		{name:'Yatık', key:'I', openWith:'[i]', closeWith:'[/i]'},
		{name:'Altı Çizili', key:'U', openWith:'[u]', closeWith:'[/u]'},
		{separator:'---------------' },
		{name:'Resim Ekle', key:'P', replaceWith:'[img][![Resim Adresini Girin:]!][/img]'},
		{name:'Bağlantı Ekle', key:'L', openWith:'[url=[![Web Adresini Girin:]!]]', closeWith:'[/url]', placeHolder:'Bağlantı tanımını yazın...'},
		{separator:'---------------' },
		{name:'Yazıtipi Boyutu', key:'S', openWith:'[size=[![Yazıtipi Boyutu Girin]!]]', closeWith:'[/size]',
		dropMenu :[
			{name:'Daha Büyük', openWith:'[size=x-large]', closeWith:'[/size]' },
			{name:'Büyük', openWith:'[size=large]', closeWith:'[/size]' },
			{name:'Normal', openWith:'[size=medium]', closeWith:'[/size]' },
			{name:'Küçük', openWith:'[size=small]', closeWith:'[/size]' },
			{name:'Daha Küçük', openWith:'[size=x-small]', closeWith:'[/size]' }
		]},
		{name:'Yazıtipi Renkleri', 
			className:'colors', openWith:'[color=[![Yazıtipi Rengi Girin]!]]', 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" }
				]
		},
		{separator:'---------------' },
		{name:'Maddeli liste', openWith:'[list]\n', closeWith:'\n[/list]'},
		{name:'Numaralı Liste', openWith:'[list=[![Numaralandırma başlangıcı girin]!]]\n', closeWith:'\n[/list]'}, 
		{name:'Liste Öğesi', openWith:'[*] '},
		{separator:'---------------' },
		{name:'Alıntılar', openWith:'[quote]', closeWith:'[/quote]'},
		{name:'Kod', openWith:'[code]', closeWith:'[/code]'}, 
		{separator:'---------------' },
		{name:'Biçimlendirmeyi Temizle', className:"clean", replaceWith:function(markitup) { return markitup.selection.replace(/\[(.*?)\]/g, "") } },
		{name:'Önizleme', className:"preview", call:'preview' }
	]
}
