Sha256: 751f606a92ce475b179775a44a2bd19b77c6188eb76a435fc6fc39b5a0081cfe
Contents?: true
Size: 1.78 KB
Versions: 2
Compression:
Stored size: 1.78 KB
Contents
mySettings={nameSpace:"texy",previewParserPath:"",onShiftEnter:{keepDefault:!1,replaceWith:"\n\n"},markupSet:[{name:"Heading 1",key:"1",closeWith:function(a){return miu.texyTitle(a,"#")},placeHolder:"Your title here...",className:"h1"},{name:"Heading 2",key:"2",closeWith:function(a){return miu.texyTitle(a,"*")},placeHolder:"Your title here...",className:"h2"},{name:"Heading 3",key:"3",closeWith:function(a){return miu.texyTitle(a,"=")},placeHolder:"Your title here...",className:"h3"},{name:"Heading 4", key:"4",closeWith:function(a){return miu.texyTitle(a,"-")},placeHolder:"Your title here...",className:"h4"},{separator:"---------------"},{name:"Bold",key:"B",closeWith:"**",openWith:"**",className:"bold",placeHolder:"Your text here..."},{name:"Italic",key:"I",closeWith:"*",openWith:"*",className:"italic",placeHolder:"Your text here..."},{separator:"---------------"},{name:"Bulleted list",openWith:"- ",className:"list-bullet"},{name:"Numeric list",openWith:function(a){return a.line+". "},className:"list-numeric"}, {separator:"---------------"},{name:"Picture",openWith:"[* ",closeWith:" (!(.([![Alt text]!]))!) *]",placeHolder:"[![Url:!:http://]!]",className:"image"},{name:"Link",openWith:'"',closeWith:'":[![Url:!:http://]!]',placeHolder:"Your text to link...",className:"link"},{separator:"---------------"},{name:"Quotes",openWith:"> ",className:"quotes"},{name:"Code block/Code in-line",openWith:"(!(/---[![Language:!:html]!]\n|!|`)!)",closeWith:"(!(\n\\---\n|!|`)!)",className:"code"},{name:"Texy off",closeWith:"''", openWith:"''",className:"off",placeHolder:"No texty! in here!"},{separator:"---------------"},{name:"Preview",call:"preview",className:"preview"}]};miu={texyTitle: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.texy.min.js |
compass-jquery-plugin-0.3.3.0 | templates/markitup/markitup/jquery.markitup.set.texy.min.js |