Sha256: 6cad4766607ee477a4a7b179df0849063bd85c82296c18a9056dcb3c88e87fcc

Contents?: true

Size: 1.83 KB

Versions: 2

Compression:

Stored size: 1.83 KB

Contents

mySettings={nameSpace:"wiki",previewParserPath:"",onShiftEnter:{keepDefault:!1,replaceWith:"\n\n"},markupSet:[{name:"Heading 1",key:"1",openWith:"== ",closeWith:" ==",placeHolder:"Your title here..."},{name:"Heading 2",key:"2",openWith:"=== ",closeWith:" ===",placeHolder:"Your title here..."},{name:"Heading 3",key:"3",openWith:"==== ",closeWith:" ====",placeHolder:"Your title here..."},{name:"Heading 4",key:"4",openWith:"===== ",closeWith:" =====",placeHolder:"Your title here..."},{name:"Heading 5",
key:"5",openWith:"====== ",closeWith:" ======",placeHolder:"Your title here..."},{separator:"---------------"},{name:"Bold",key:"B",openWith:"'''",closeWith:"'''"},{name:"Italic",key:"I",openWith:"''",closeWith:"''"},{name:"Stroke through",key:"S",openWith:"<s>",closeWith:"</s>"},{separator:"---------------"},{name:"Bulleted list",openWith:"(!(* |!|*)!)"},{name:"Numeric list",openWith:"(!(# |!|#)!)"},{separator:"---------------"},{name:"Table generator",className:"tablegenerator",placeholder:"Your text here...",
replaceWith:function(c){var d=prompt("How many cols?"),f=prompt("How many rows?"),b="{|\n";if(c.altKey)for(var a=0;a<d;a++)b+="! [![TH"+(a+1)+" text:]!]\n";for(var e=0;e<f;e++){b+="|-\n";for(a=0;a<d;a++)b+="| "+(c.placeholder||"")+"\n"}b+="|}\n";return b}},{separator:"---------------"},{name:"Picture",key:"P",replaceWith:"[[Image:[![Url:!:http://]!]|[![name]!]]]"},{name:"Link",key:"L",openWith:"[[![Link]!] ",closeWith:"]",placeHolder:"Your text to link here..."},{name:"Url",openWith:"[[![Url:!:http://]!] ",
closeWith:"]",placeHolder:"Your text to link here..."},{separator:"---------------"},{name:"Quotes",openWith:"(!(> |!|>)!)",placeHolder:""},{name:"Code",openWith:'(!(<source lang="[![Language:!:php]!]">|!|<pre>)!)',closeWith:"(!(</source>|!|</pre>)!)"},{separator:"---------------"},{name:"Preview",call:"preview",className:"preview"}]};

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
compass-jquery-plugin-0.3.3.1 templates/markitup/markitup/jquery.markitup.set.wiki.min.js
compass-jquery-plugin-0.3.3.0 templates/markitup/markitup/jquery.markitup.set.wiki.min.js