// ----------------------------------------------------------------------------
// 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:'Fett', key:'B', openWith:'[b]', closeWith:'[/b]'},
		{name:'Kursiv', key:'I', openWith:'[i]', closeWith:'[/i]'},
		{name:'Unterstrichen', key:'U', openWith:'[u]', closeWith:'[/u]'},
		/* {separator:'---------------' }, */
		{name:'Bild', key:'P', replaceWith:'[img][![Url]!][/img]'},
		{name:'Link', key:'L', openWith:'[url=[![Url]!]]', closeWith:'[/url]', placeHolder:'Geben Sie den Link an'},
		
		/* {name:'Bulleted list', openWith:'[list]\n', closeWith:'\n[/list]'}, */
		
		/* {name:'List item', openWith:'[*] '}, */
		/* {separator:'---------------' }, */
		/* {name:'Quotes', openWith:'[quote]', closeWith:'[/quote]'}, */
		/* {name:'Code', openWith:'[code]', closeWith:'[/code]'},  */
		/* {separator:'---------------' }, */
		{name:'BB Codes entfernen', className:"clean", replaceWith:function(markitup) { return markitup.selection.replace(/\[(.*?)\]/g, "") } },
		/* {name:'Preview', className:"preview", call:'preview' } */
	]
}
