// ----------------------------------------------------------------------------
// 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:	'~/parser/markitup.bbcode-parser.php', // path to your BBCode parser
	//previewParserVar:	'$text', // path to your BBCode parser
	markupSet: [
		{name:'Gras', key:'B', openWith:'[b]', closeWith:'[/b]'},
		{name:'Italique', key:'I', openWith:'[i]', closeWith:'[/i]'},
		{name:'Souligné', key:'U', openWith:'[u]', closeWith:'[/u]'},
		{separator:'---------------' },
		//{name:'Image', key:'P', replaceWith:'[img][![Url]!][/img]'},
		{name:'Lien', key:'L', openWith:'[url=[![Adresse Url du lien]!]]', closeWith:'[/url]', placeHolder:'Texte du lien...'},
		{name:'Mail', key:'M', openWith:'[email]', closeWith:'[/email]'},
		{separator:'---------------' },
		{name:'Taille', key:'S', openWith:'[size=[![Text size]!]]', closeWith:'[/size]',
		dropMenu :[
			{name:'Gros', openWith:'[size=120]', closeWith:'[/size]' },
			{name:'Normal', openWith:'[size=100]', closeWith:'[/size]' },
			{name:'Petit', openWith:'[size=80]', closeWith:'[/size]' }
		]},
		/*{separator:'---------------' },
		{name:'Liste', openWith:'[list]\n', closeWith:'\n[/list]'},
		{name:'Liste numérique', openWith:'[list=[![Starting number]!]]\n', closeWith:'\n[/list]'}, 
		{name:'Element de liste', openWith:'[*] '},*/
		{separator:'---------------' },
		{name:'Citer', openWith:'[quote]', closeWith:'[/quote]'}/*,
		{name:'Code', openWith:'[code]', closeWith:'[/code]'}, 
		{separator:'---------------' },
		{name:'Mettre à jour', className:"clean", replaceWith:function(markitup) { return markitup.selection.replace(/\[(.*?)\]/g, "") } },
		{name:'Previsualiser', className:"preview", call:'preview' }*/
	]
}
