summaryrefslogtreecommitdiff
path: root/objectapp/static/objectapp/js/markitup/sets/textile/set.js
diff options
context:
space:
mode:
Diffstat (limited to 'objectapp/static/objectapp/js/markitup/sets/textile/set.js')
-rw-r--r--objectapp/static/objectapp/js/markitup/sets/textile/set.js37
1 files changed, 37 insertions, 0 deletions
diff --git a/objectapp/static/objectapp/js/markitup/sets/textile/set.js b/objectapp/static/objectapp/js/markitup/sets/textile/set.js
new file mode 100644
index 0000000..dc7b6f6
--- /dev/null
+++ b/objectapp/static/objectapp/js/markitup/sets/textile/set.js
@@ -0,0 +1,37 @@
+// -------------------------------------------------------------------
+// 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
+// -------------------------------------------------------------------
+mySettings = {
+ 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:'Heading 4', key:'4', openWith:'h4(!(([![Class]!]))!). ', placeHolder:'Your title here...' },
+ {name:'Heading 5', key:'5', openWith:'h5(!(([![Class]!]))!). ', placeHolder:'Your title here...' },
+ {name:'Heading 6', key:'6', openWith:'h6(!(([![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', key:'L', openWith:'"', closeWith:'([![Title]!])":[![Link:!:http://]!]', placeHolder:'Your text to link here...' },
+ {separator:'---------------' },
+ {name:'Quotes', openWith:'bq(!(([![Class]!]))!). '},
+ {name:'Code', openWith:'@', closeWith:'@'}
+ ]
+}