Sha256: 56c7172080ea16559b1fb47c84cf2b28bc1d7edd0fb4894a51fa78915c64e326
Contents?: true
Size: 1.45 KB
Versions: 2
Compression:
Stored size: 1.45 KB
Contents
mySettings={nameSpace:"rest",previewParserPath:"",onShiftEnter:{keepDefault:!1,replaceWith:"\n\n"},markupSet:[{name:"Heading",key:"1",placeHolder:"Your title here...",closeWith:function(a){return miu.markdownTitle(a,"*")}},{name:"Heading",key:"2",placeHolder:"Your title here...",closeWith:function(a){return miu.markdownTitle(a,"=")}},{name:"Heading",key:"3",placeHolder:"Your title here...",closeWith:function(a){return miu.markdownTitle(a,"-")}},{name:"Heading",key:"4",placeHolder:"Your title here...", closeWith:function(a){return miu.markdownTitle(a,"^")}},{name:"Heading",key:"5",placeHolder:"Your title here...",closeWith:function(a){return miu.markdownTitle(a,'"')}},{separator:"---------------"},{name:"Bold",key:"B",openWith:"**",closeWith:"**"},{name:"Italic",key:"I",openWith:"*",closeWith:"*"},{separator:"---------------"},{name:"Bulleted list",openWith:"- "},{name:"Numeric list",openWith:"# "},{separator:"---------------"},{name:"Picture",key:"P",openWith:"\n\n.. image:: ",closeWith:"\n\n", placeHolder:"Your picture here..."},{name:"Link",key:"L",openWith:"`",closeWith:" [![Link:!:http://]!]`_",placeHolder:"Your text to link here..."},{separator:"---------------"},{name:"Quote",openWith:"\t"},{name:"Code",openWith:"``",closeWith:"``"},{separator:"---------------"},{name:"Preview",call:"preview",className:"preview"}]};miu={markdownTitle:function(a,b){heading="";n=$.trim(a.selection||a.placeHolder).length;for(i=0;i<n;i++)heading+=b;return"\n"+heading}};
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.rest.min.js |
compass-jquery-plugin-0.3.3.0 | templates/markitup/markitup/jquery.markitup.set.rest.min.js |