<labelclass="small">Font Size</label><selectclass="input-mini"ng-model="panel.style['font-size']"ng-options="f for f in ['6pt','7pt','8pt','10pt','12pt','14pt','16pt','18pt','20pt','24pt','28pt','32pt','36pt','42pt','48pt','52pt','60pt','72pt']"></select>
<labelclass=small>Content</label>
<labelclass=small>Content (This area uses <atarget="_blank"href="http://en.wikipedia.org/wiki/Markdown">Markdown</a>)</label>
varShowdown={extensions:{}},forEach=Showdown.forEach=function(a,b){if(typeofa.forEach=="function")a.forEach(b);else{varc,d=a.length;for(c=0;c<d;c++)b(a[c],c,a)}},stdExtName=function(a){returna.replace(/[_-]||\s/g,"").toLowerCase()};Showdown.converter=function(a){varb,c,d,e=0,f=[],g=[];if(typeofmodule!="undefind"&&typeofexports!="undefined"&&typeofrequire!="undefind"){varh=require("fs");if(h){vari=h.readdirSync((__dirname||".")+"/extensions").filter(function(a){return~a.indexOf(".js")}).map(function(a){returna.replace(/\.js$/,"")});Showdown.forEach(i,function(a){varb=stdExtName(a);Showdown.extensions[b]=require("./extensions/"+a)})}}this.makeHtml=function(a){returnb={},c={},d=[],a=a.replace(/~/g,"~T"),a=a.replace(/\$/g,"~D"),a=a.replace(/\r\n/g,"\n"),a=a.replace(/\r/g,"\n"),a="\n\n"+a+"\n\n",a=M(a),a=a.replace(/^[\t]+$/mg,""),Showdown.forEach(f,function(b){a=k(b,a)}),a=z(a),a=m(a),a=l(a),a=o(a),a=K(a),a=a.replace(/~D/g,"$$"),a=a.replace(/~T/g,"~"),Showdown.forEach(g,function(b){a=k(b,a)}),a};if(a&&a.extensions){varj=this;Showdown.forEach(a.extensions,function(a){typeofa=="string"&&(a=Showdown.extensions[stdExtName(a)]);if(typeofa!="function")throw"Extension '"+a+"' could not be loaded. It was either not found or is not a valid extension.";Showdown.forEach(a(j),function(a){a.type?a.type==="language"||a.type==="lang"?f.push(a):(a.type==="output"||a.type==="html")&&g.push(a):g.push(a)})})}vark=function(a,b){if(a.regex){varc=newRegExp(a.regex,"g");returnb.replace(c,a.replace)}if(a.filter)returna.filter(b)},l=function(a){returna+="~0",a=a.replace(/^[]{0,3}\[(.+)\]:[\t]*\n?[\t]*<?(\S+?)>?[\t]*\n?[\t]*(?:(\n*)["(](.+?)[")][\t]*)?(?:\n+|(?=~0))/gm,function(a,d,e,f,g){returnd=d.toLowerCase(),b[d]=G(e),f?f+g:(g&&(c[d]=g.replace(/"/g,""")),"")}),a=a.replace(/~0/,""),a},m=function(a){a=a.replace(/\n/g,"\n\n");varb="p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math|ins|del|style|section|header|footer|nav|article|aside",c="p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math|style|section|header|footer|nav|article|aside";returna=a.replace(/^(<(p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math|ins|del)\b[^\r]*?\n<\/\2>[\t]*(?=\n+))/gm,n),a=a.replace(/^(<(p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math|style|section|header|footer|nav|article|aside)\b[^\r]*?<\/\2>[\t]*(?=\n+)\n)/gm,n),a=a.replace(/(\n[]{0,3}(<(hr)\b([^<>])*?\/?>)[\t]*(?=\n{2,}))/g,n),a=a.replace(/(\n\n[]{0,3}<!(--[^\r]*?--\s*)+>[\t]*(?=\n{2,}))/g,n),a=a.replace(/(?:\n\n)([]{0,3}(?:<([?%])[^\r]*?\2>)[\t]*(?=\n{2,}))/g,n),a=a.replace(/\n\n/g,"\n"),a},n=function(a,b){varc=b;returnc=c.replace(/\n\n/g,"\n"),c=c.replace(/^\n/,""),c=c.replace(/\n+$/g,""),c="\n\n~K"+(d.push(c)-1)+"K\n\n",c},o=function(a){a=v(a);varb=A("<hr />");returna=a.replace(/^[]{0,2}([]?\*[]?){3,}[\t]*$/gm,b),a=a.replace(/^[]{0,2}([]?\-[]?){3,}[\t]*$/gm,b),a=a.replace(/^[]{0,2}([]?\_[]?){3,}[\t]*$/gm,b),a=x(a),a=y(a),a=E(a),a=m(a),a=F(a),a},p=function(a){returna=B(a),a=q(a),a=H(a),a=t(a),a=r(a),a=I(a),a=G(a),a=D(a),a=a.replace(/ +\n/g," <br />\n"),a},q=function(a){varb=/(<[a-z\/!$]("[^"]*"|'[^']*'|[^'">])*>|<!(--.*?--\s*)+>)/gi;returna=a.replace(b,function(a){varb=a.replace(/(.)<\/?code>(?=.)/g,"$1`");returnb=N(b,"\\`*_"),b}),a},r=function(a){returna=a.replace(/(\[((?:\[[^\]]*\]|[^\[\]])*)\][]?(?:\n[]*)?\[(.*?)\])()()()()/g,s),a=a.replace(/(\[((?:\[[^\]]*\]|[^\[\]])*)\]\([\t]*()<?(.*?(?:\(.*?\).*?)?)>?[\t]*((['"])(.*?)\6[\t]*)?\))/g,s),a=a.replace(/(\[([^\[\]]+)\])()()()()()/g,s),a},s=function(a,d,e,f,g,h,i,j){j==undefined&&(j="");vark=d,l=e,m=f.toLowerCase(),n=g,o=j;if(n==""){m==""&&(m=l.toLowerCase().replace(/ ?\n/g," ")),n="#"+m;if(b[m]!=undefined)n=b[m],c[m]!=undefined&&(o=c[m]);else{if(!(k.search(/\(\s*\)$/m)>-1))returnk;n=""}}n=N(n,"*_");varp='<a href="'+n+'"';returno!=""&&(o=o.replace(/"/g,"""),o=N(o,"*_"),p+=' title="'+o+'"'),p+=">"+l+"</a>",p},t=function(a){returna=a.replace(/(!\[(.*?)\][]?(?:\n[]*)?\[(.*?)\])()()()()/g,u),a=a.replace(/(!\[(.*?)\]\s?\([\t]*()<?(\S+?)>?[\t]*((['"])(.*?)\6[\t]*)?\))/g,u),a},u=function(a,d,e,f,g,h,i,j){vark=d,l=e,m=f.toLowerCase(),n=g,o=j;o||(o="");if(n==""){m==""&&(m=l.toLowerCase().replace(/ ?\n/g," ")),n="#"+m;if(b[m]==undefined)returnk;n=b[m],c[m]!=undefined&&(o=c[m])}l=l.replace(/"/g,"""),n=N(n,"*_");varp='<img src="'+n+'" alt="'+l+'"';returno=o.replace(/"/g,"""),o=N(o,"*_"),p+=' title="'+o+'"',p+=" />",p},v=function(a){functionb(a){returna.replace(/[^\w]/g,"").toLowerCase()}returna=a.replace(/^(.+)[\t]*\n=+[\t]*\n+/gm,function(a,c){returnA('<h1 id="'+b(c)+'">'+p(c)+"</h1>")}),a=a.replace(/^(.+)[\t]*\n-+[\t]*\n+/gm,function(a,c){returnA('<h2 id="'+b(c)+'">'+p(c)+"</h2>")}),a=a.replace(/^(\#{1,6})[\t]*(.+?)[\t]*\#*\n+/gm,function(a,c,d){vare=c.length;returnA("<h"+e+' id="'+b(d)+'">'+p(d)+"</h"+e+">")}),a},w,x=function(a){a+="~0";varb=/^(([]{0,3}([*+-]|\d+[.])[\t]+)[^\r]+?(~0|\n{2,}(?=\S)(?![\t]*(?:[*+-]|\d+[.])[\t]+)))/gm;returne?a=a.replace(b,function(a,b,c){vard=b,e=c.search(/[*+-]/g)>-1?"ul":"ol";d=d.replace(/\n{2,}/g,"\n\n\n");varf=w(d);returnf=f.replace(/\s+$/,""),f="<"+e+">"+f+"</"+e+">\n",f}):(b=/(\n\n|^\n?)(([]{0,3}([*+-]|\d+[.])[\t]+)[^\r]+?(~0|\n{2,}(?=\S)(?![\t]*(?:[*+-]|\d+[.])[\t]+)))/g,a=a.replace(b,function(a,b,c,d){vare=b,f=c,g=d.search(/[*+-]/g)>-1?"ul":"ol",f=f.replace(/\n{2,}/g,"\n\n\n"),h=w(f);returnh=e+"<"+g+">\n"+h+"</"+g+">\n",h})),a=a.replace(/~0/,""),a};w=function(a){returne++,a=a.replace(/\n{2,}$/,"\n"),a+="~0",a=a.replace(/(\n)?(^[\t]*)([*+-]|\d+[.])[\t]+([^\r]+?(\n{1,2}))(?=\n*(~0|\2([*+-]|\d+[.])[\t]+))/gm,function(a,b,c,d,e){varf=e,g=b,h=c;returng||f.search(/\n{2,}/)>-1?f=o(L(f)):(f=x(L(f)),f=f.replace(/\n$/,""),f=p(f)),"<li>"+f+"</li>\n"}),a=a.replace(/~0/g,""),e--,a};vary=function(a){returna+="~0",a=a.replace(/(?:\n\n|^)((?:(?:[]{4}|\t).*\n+)+)(\n*[]{0,3}[^\t\n]|(?=~0))/g,function(a,b,c){vard=b,e=c;returnd=C(L(d)),d=M(d),d=d.replace(/^\n+/g,""),d=d.replace(/\n+$/g,""),d="<pre><code>"+d+"\n</code></pre>",A(d)+e}),a=a.replace(/~0/,""),a},z=function(a){returna+="~0",a=a.replace(/(?:^|\n)```(.*)\n([\s\S]*?)\n```/g,function(a,b,c){vard=b,e=c;returne=C(e),e=M(e),e=e.replace(/^\n+/g,""),e=e.replace(/\n+$/g,""),e="<pre><code"+(d?' class="'+d+'"':"")+">"+e+"\n</code></pre>",A(e)}),a=a.replace(/~0/,""),a},A=function(a){returna=a.replace(/(^\n+|\n+$)/g,""),"\n\n~K"+(d.push(a)-1)+"K\n\n"},B=function(a){returna=a.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(a,b,c,d,e){varf=d;returnf=f.replace(/^([\t]*)/g,""),f=f.replace(/[\t]*$/g,""),f=C(f),b+"<code>"+f+"</code>"}),a},C=function(a){returna=a.replace(/&/g,"&"),a=a.replace(/</g,"<"),a=a.replace(/>/g,">"),a=N(a,"*_{}[]\\",!1),a},D=function(a){return a=a.replace(/(\*\*|__)(?=\S)([^\r]*?\S[*_]*)\1/g,"<strong>$2</strong>"),a=a.replace(/(\*|_)(?=\S)([^\r]*?\S)\1/g,"<em>$2</em>"),a},E=function(a){returna=a.replace(/((^[\t]*>[\t]?.+\n(.+\n)*\n*)+)/gm,function(a,b){varc=b;returnc=c.replace(/^[\t]*>[\t]?/gm,"~0"),c=c.replace(/~0/g,""),c=c.replace(/^[\t]+$/gm,""),c=o(c),c=c.replace(/(^|\n)/g,"$1 "),c=c.replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,function(a,b){varc=b;returnc=c.replace(/^ /mg,"~0"),c=c.replace(/~0/g,""),c}),A("<blockquote>\n"+c+"\n</blockquote>")}),a},F=function(a){a=a.replace(/^\n+/g,""),a=a.replace(/\n+$/g,"");varb=a.split(/\n{2,}/g),c=[],e=b.length;for(varf=0;f<e;f++){varg=b[f];g.search(/~K(\d+)K/g)>=0?c.push(g):g.search(/\S/)>=0&&(g=p(g),g=g.replace(/^([\t]*)/g,"<p>"),g+="</p>",c.push(g))}e=c.length;for(varf=0;f<e;f++)while(c[f].search(/~K(\d+)K/)>=0){varh=d[RegExp.$1];h=h.replace(/\$/g,"$$$$"),c[f]=c[f].replace(/~K\d+K/,h)}returnc.join("\n\n")},G=function(a){returna=a.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&"),a=a.replace(/<(?![a-z\/?\$!])/gi,"<"),a},H=function(a){returna=a.replace(/\\(\\)/g,O),a=a.replace(/\\([`*_{}\[\]()>#+-.!])/g,O),a},I=function(a){returna=a.replace(/<((https?|ftp|dict):[^'">\s]+)>/gi,'<a href="$1">$1</a>'),a=a.replace(/<(?:mailto:)?([-.\w]+\@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,function(a,b){returnJ(K(b))}),a},J=function(a){varb=[function(a){return"&#"+a.charCodeAt(0)+";"},function(a){return"&#x"+a.charCodeAt(0).toString(16)+";"},function(a){returna}];returna="mailto:"+a,a=a.replace(/./g,function(a){if(a=="@")a=b[Math.floor(Math.random()*2)](a);elseif(a!=":"){varc=Math.random();a=c>.9?b[2](a):c>.45?b[1](a):b[0](a)}returna}),a='<a href="'+a+'">'+a+"</a>",a=a.replace(/">.+:/g,'">'),a},K=function(a){returna=a.replace(/~E(\d+)E/g,function(a,b){varc=parseInt(b);returnString.fromCharCode(c)}),a},L=function(a){returna=a.replace(/^(\t|[]{1,4})/gm,"~0"),a=a.replace(/~0/g,""),a},M=function(a){returna=a.replace(/\t(?=\t)/g," "),a=a.replace(/\t/g,"~A~B"),a=a.replace(/~B(.+?)~A/g,function(a,b,c){vard=b,e=4-d.length%4;for(varf=0;f<e;f++)d+=" ";returnd}),a=a.replace(/~A/g," "),a=a.replace(/~B/g,""),a},N=function(a,b,c){vard="(["+b.replace(/([\[\]\\])/g,"\\$1")+"])";c&&(d="\\\\"+d);var e=new RegExp(d,"g");return a=a.replace(e,O),a},O=function(a,b){var c=b.charCodeAt(0);return"~E"+c+"E"}},typeof module!="undefined"&&(module.exports=Showdown),typeof define=="function"&&define.amd&&define("showdown",function(){return Showdown});