// -------------------------------------------------------------------
// markItUp!
// -------------------------------------------------------------------
// Copyright (C) 2008 Jay Salvat
// http://markitup.jaysalvat.com/
// -------------------------------------------------------------------
// Textile tags example
// http://en.wikipedia.org/wiki/Textile_(markup_language)
// http://www.textism.com/
// -------------------------------------------------------------------
// Feel free to add more tags
// -------------------------------------------------------------------
schoolSettings = {
	previewParserPath:	'/textile_preview', // path to your Textile parser
	previewAutoRefresh:		false,
	onShiftEnter:		{keepDefault:false, replaceWith:'\n\n'},
	markupSet: [
		{name:'Heading 1', key:'1', openWith:'h1(!(([![Class]!]))!). ', placeHolder:'Your title here...' },
		{name:'Heading 2', key:'2', openWith:'h2(!(([![Class]!]))!). ', placeHolder:'Your title here...' },
		{name:'Heading 3', key:'3', openWith:'h3(!(([![Class]!]))!). ', placeHolder:'Your title here...' },
		{name:'Paragraph', key:'P', openWith:'p(!(([![Class]!]))!). '},
		{separator:'---------------' },
		{name:'Bold', key:'B', closeWith:'*', openWith:'*'},
		{name:'Italic', key:'I', closeWith:'_', openWith:'_'},
		{name:'Stroke through', key:'S', closeWith:'-', openWith:'-'},
		{separator:'---------------' },
		{name:'Bulleted list', openWith:'(!(* |!|*)!)'},
		{name:'Numeric list', openWith:'(!(# |!|#)!)'}, 
		{separator:'---------------' },
		{name:'Picture', replaceWith:'![![Source:!:http://]!]([![Alternative text]!])!'}, 
		{name:'Link', openWith:'"', closeWith:'([![Title]!])":[![Link:!:http://]!]', placeHolder:'Your text to link here...' },
		{separator:'---------------' },
    {name:'SubjectID', openWith: '[[[SUBJECT_ID]]]'},
    {name:'Yearbook Selection Link', openWith: '[[[YEARBOOK_SELECTION_LINK]]]'},
    {name:'Auto Login Link', openWith: '[[[AUTO_LOGIN_LINK]]]'},
    {name:'Proof', openWith: '[[[PROOF_LINK]]]'},
		{separator:'---------------' },
		{name:'Preview', call:'preview', className:'preview'}
	]
}
eventSettings = {
  previewParserPath:	'/textile_preview', // path to your Textile parser
  previewAutoRefresh:		false,
  onShiftEnter:		{keepDefault:false, replaceWith:'\n\n'},
  markupSet: [
    {name:'Heading 1', key:'1', openWith:'h1(!(([![Class]!]))!). ', placeHolder:'Your title here...' },
    {name:'Heading 2', key:'2', openWith:'h2(!(([![Class]!]))!). ', placeHolder:'Your title here...' },
    {name:'Heading 3', key:'3', openWith:'h3(!(([![Class]!]))!). ', placeHolder:'Your title here...' },
    {name:'Paragraph', key:'P', openWith:'p(!(([![Class]!]))!). '},
    {separator:'---------------' },
    {name:'Bold', key:'B', closeWith:'*', openWith:'*'},
    {name:'Italic', key:'I', closeWith:'_', openWith:'_'},
    {name:'Stroke through', key:'S', closeWith:'-', openWith:'-'},
    {separator:'---------------' },
    {name:'Bulleted list', openWith:'(!(* |!|*)!)'},
    {name:'Numeric list', openWith:'(!(# |!|#)!)'}, 
    {separator:'---------------' },
    {name:'Picture', replaceWith:'![![Source:!:http://]!]([![Alternative text]!])!'}, 
    {name:'Link', openWith:'"', closeWith:'([![Title]!])":[![Link:!:http://]!]', placeHolder:'Your text to link here...' },
    {separator:'---------------' },
    {name:'StudentID', openWith: '[[[STUDENT_ID]]]'},
    {name:'Yearbook Selection Link', openWith: '[[[YEARBOOK_SELECTION_LINK]]]'},
    {separator:'---------------' },
    {name:'Preview', call:'preview', className:'preview'}
  ]
}