o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1319292535.3855119¬:: @value{I" class:EFI"BundledAsset; FI"id; F"%330567ea59513720f8dcf38aa1e8d243I"logical_path; FI""markitup/sets/markdown/set.js; FI" pathname; FI"]/home/mark/dev/personal/page_engine/app/assets/javascripts/markitup/sets/markdown/set.js; FI"content_type; FI"application/javascript; FI" mtime; FI"2011-08-21T16:13:05+01:00; FI" body; FI"ü // ------------------------------------------------------------------- // markItUp! // ------------------------------------------------------------------- // Copyright (C) 2008 Jay Salvat // http://markitup.jaysalvat.com/ // ------------------------------------------------------------------- // MarkDown tags example // http://en.wikipedia.org/wiki/Markdown // http://daringfireball.net/projects/markdown/ // ------------------------------------------------------------------- // Feel free to add more tags // ------------------------------------------------------------------- markitup_markdown_settings = { previewTemplatePath: '/assets/markitup/templates/preview.html', previewParserPath: '/admin/pages/parse_content?data_type=markdown', // path to your Textile parser onShiftEnter: {keepDefault:false, openWith:'\n\n'}, markupSet: [ {name:'First Level Heading', key:'1', placeHolder:'Your title here...', closeWith:function(markItUp) { return miu.markdownTitle(markItUp, '=') } }, {name:'Second Level Heading', key:'2', placeHolder:'Your title here...', closeWith:function(markItUp) { return miu.markdownTitle(markItUp, '-') } }, {name:'Heading 3', key:'3', openWith:'### ', placeHolder:'Your title here...' }, {name:'Heading 4', key:'4', openWith:'#### ', placeHolder:'Your title here...' }, {name:'Heading 5', key:'5', openWith:'##### ', placeHolder:'Your title here...' }, {name:'Heading 6', key:'6', openWith:'###### ', placeHolder:'Your title here...' }, {separator:'---------------' }, {name:'Bold', key:'B', openWith:'**', closeWith:'**'}, {name:'Italic', key:'I', openWith:'_', closeWith:'_'}, {separator:'---------------' }, {name:'Bulleted List', openWith:'- ' }, {name:'Numeric List', openWith:function(markItUp) { return markItUp.line+'. '; }}, {separator:'---------------' }, {name:'Picture', key:'P', replaceWith:'![[![Alternative text]!]]([![Url:!:http://]!] "[![Title]!]")'}, {name:'Link', key:'L', openWith:'[', closeWith:']([![Url:!:http://]!] "[![Title]!]")', placeHolder:'Your text to link here...' }, {separator:'---------------'}, {name:'Quotes', openWith:'> '}, {name:'Code Block / Code', openWith:'(!(\t|!|`)!)', closeWith:'(!(`)!)'}, {separator:'---------------'}, {name:'Preview', call:'preview', className:"preview"} ] } // mIu nameSpace to avoid conflict. miu = { markdownTitle: function(markItUp, char) { heading = ''; n = $.trim(markItUp.selection||markItUp.placeHolder).length; for(i = 0; i < n; i++) { heading += char; } return '\n'+heading; } } ; ; FI"asset_paths; F[I"]/home/mark/dev/personal/page_engine/app/assets/javascripts/markitup/sets/markdown/set.js; FI"dependency_paths; F[{I" path; FI"]/home/mark/dev/personal/page_engine/app/assets/javascripts/markitup/sets/markdown/set.js; FI" mtime; FIu: Time ¯Þ€P4: @_zoneI"BST; T: offsetiI"hexdigest; F"%cc81bd3d86c8d4dcb129111ca94cb5eeI" _version; F"%ae6d9eacd14d652b3363e444f7ccf3f9