From 918930b81dbda143a13ba637b511b0c2a11f7faa Mon Sep 17 00:00:00 2001 From: derobins Date: Fri, 2 Jan 2009 16:30:52 -0600 Subject: [PATCH] Added images, HTML test file, pastable markup My other .js files are the originals so that's a step back but I'll remerge those shortly. --- images/bg-fill.png | Bin 0 -> 177 bytes images/bg.png | Bin 0 -> 1814 bytes images/blockquote.png | Bin 0 -> 284 bytes images/bold.png | Bin 0 -> 255 bytes images/code.png | Bin 0 -> 214 bytes images/h1.png | Bin 0 -> 203 bytes images/hr.png | Bin 0 -> 218 bytes images/img.png | Bin 0 -> 447 bytes images/italic.png | Bin 0 -> 247 bytes images/link.png | Bin 0 -> 1079 bytes images/ol.png | Bin 0 -> 215 bytes images/redo.png | Bin 0 -> 669 bytes images/separator.png | Bin 0 -> 210 bytes images/ul.png | Bin 0 -> 172 bytes images/undo.png | Bin 0 -> 651 bytes images/wmd-on.png | Bin 0 -> 477 bytes images/wmd.png | Bin 0 -> 518 bytes pasteme.txt | 136 ++++++++++++++++++++++++++++++++++++++++++ wmd-test.css | 7 +++ wmd-test.html | 17 ++++++ 20 files changed, 160 insertions(+) create mode 100644 images/bg-fill.png create mode 100644 images/bg.png create mode 100644 images/blockquote.png create mode 100644 images/bold.png create mode 100644 images/code.png create mode 100644 images/h1.png create mode 100644 images/hr.png create mode 100644 images/img.png create mode 100644 images/italic.png create mode 100644 images/link.png create mode 100644 images/ol.png create mode 100644 images/redo.png create mode 100644 images/separator.png create mode 100644 images/ul.png create mode 100644 images/undo.png create mode 100644 images/wmd-on.png create mode 100644 images/wmd.png create mode 100644 pasteme.txt create mode 100644 wmd-test.css create mode 100644 wmd-test.html diff --git a/images/bg-fill.png b/images/bg-fill.png new file mode 100644 index 0000000000000000000000000000000000000000..ec503ce588b66f85975bbffad24e18a9f87c2d2c GIT binary patch literal 177 zcmeAS@N?(olHy`uVBq!ia0y~y;9mq}Gjgy2$#YGObAc2~x}&cn1H<|g=B!;Wfqcml z*NBqf{Irtt#G+IN$CUh}R0Yr6#Prml)Wnp^!jq{sKt;};E{-7;x859NWNa|tVA!Cn zc_K+RIr6y9k{uF9at)2OmDatpGyWU_REiA#oV)jX?W**&cm55G3mdKI;Vst0Jm~BiU0rr literal 0 HcmV?d00001 diff --git a/images/bg.png b/images/bg.png new file mode 100644 index 0000000000000000000000000000000000000000..bcaed31b1fc34c375020fb84ba5a9943d19aca9e GIT binary patch literal 1814 zcmZvdYgAHM6vuDli*!tzHI+GHY17KdC5@@$BZWZAS3VL=(wy-bk^-gXBSg(~ti+tg zah0ZGHf5L&Q6eofX=;V}eqtqp5~EUyrh*6t&Gnm5`@_BGto7UboPGBB?{g_Q(A(J1 z+z2x6x}pB}I)((wBy6&)kWetID+;kXY-Qv?fmK;sH|r2)Lm{uP(mWl_ z?c$1|ZJQLS{Z(ZPzmHU2nUe};&R>(O`s7nEL1S)}Y1|22aChr%i;TW>#wR2xfVn@+ zzX8=Sr6>>kW<3A^ZJQVI)1~Ngw8xRN2ySL}No3z|KV7s$+1weeXt-5hKf{WOikip2 zzAxmrwzeL^T~R&k9!!Hd#C>v-C!* z>^Lq@2INNigVc$9^}7X8hw~hdMGRwL8d<+;dgrmiX`z*HvQqlwd67wOnI#(|PM2QO zAM}KDqgRuoqoesX9;9QDdoBg#UGxRTEGKn)qFU;-vI~fr-FJM2(|N zb!7<)=iN%72U?CopqgZ@aw<8i?|MBWRjn8=5nC1PrkzD(ew-A6heb@#WC1QcbZ-D1 z!+3koaZ`sGb^4*={8EXIjt(>+AV5}rTB}w7*ACm0I@-o!IZsg3ud;t3?K%g!Y1Qjt zvIG93O&&)i})HlDqq5{r!m7 z&A8zQ*$1?jXYRrF1y#9ReJ=idS9frNNF?qvtkcn4a^y~xYmh|c9-c4mj);iZYV=hA zf4s&PDdoH<-u7zaSAiz`e!UNxk%8#;t`c$C?GW6_cSE=H*Yv#JoNTat=o>w$yDzHa zV`JYUl13YG_bt~G0FXCU<}gF^=v;%IS0BjmgF>P67!ytCpro^6X(Z<*2*J;&l(Idb zjCx14(hMf0OuI8Lxfhv<>P%6dl_U;_1IHyM+F&+oN4s8GxtGOck}Ej>nu$hcOT<|a zt8vTi+ZCs0`l|0WZq(#!(&%^@*!92BUmDgmnjs}OdN@HVVzCXVCJ5>KP!HY_U zSQ!i>c9@y1B(5$?Y#YDT!p}vuWiB9z#Q9e^i%a%_;eEMVy{H}#A%8@jIo(qsi)=~8 zwP;-wP+PM1TyK(m4jLe$#!?Wyx$@$j%GnqQ+gI{XtyWK*&B&mCsYrWw_iPrOKF@Ph z@8+z~w@t7eFTz)?3t~@EEnQRMMRWYe;m%G@+~ZpEf6Dvt<{{PrJkG}?sd$h$B-&=r z8R~A2{26rLU!WX;`!URF~F>YJd(zJZEDN-JIGZ@m;)a2i&rTocWdpKO(47O9S;iy)@q9AGz zx$2{CY8bbqkbtDlm*mO8f{{Mjgt&9Kw literal 0 HcmV?d00001 diff --git a/images/blockquote.png b/images/blockquote.png new file mode 100644 index 0000000000000000000000000000000000000000..537864a9b4a92842e5b96436fc7da2cefde92e50 GIT binary patch literal 284 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmUzPnffIy#(?lOI#yL zg7ec#$`gxH85~pclTsBta}(23gHjVyDhp4h+5i=;^K@|xskoK&=l_3uX4Qty#-N77 ztc(t88l1bCIhwyTeqAJ)z;Hx-fy7;g8F!dt*i;&1SdMTP?0CVvNoE%#R{$&jh77R- zYVCOkm{zdEQJ7 dGX{kN3{z+HzSZ8d`UlYE44$rjF6*2UngFraV@m)4 literal 0 HcmV?d00001 diff --git a/images/bold.png b/images/bold.png new file mode 100644 index 0000000000000000000000000000000000000000..eac276334888bf44aaa1ad1643c02ce1f7026a7b GIT binary patch literal 255 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmUzPnffIy#(?lOI#yL zg7ec#$`gxH85~pclTsBta}(23gHjVyDhp4h+5i7lTJ!83<( xodLtoV&-X2y5D?f4S0Xxt07-S9t(#7L&Mx_uJg`imjE5d;OXk;vd$@?2>^G^RM`Lk literal 0 HcmV?d00001 diff --git a/images/code.png b/images/code.png new file mode 100644 index 0000000000000000000000000000000000000000..dc1011ce3571be1e214ad043cee13a5b28ad5f18 GIT binary patch literal 214 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmUzPnffIy#(?lOI#yL zg7ec#$`gxH85~pclTsBta}(23gHjVyDhp4h+5i=0c)B=-RNOiebdifekt6%xfBS0A z$`eAGyB6Dqyb3CG3cby#BE>Kz_nV>rs`IjC3dd%AS2K9zb^6TYGL9bt$=Pv7Yd30r z{;-m(TzE~!yidn?d_I4PJ^E&v?AiL62e+_KeJ1(-pPUU74}*$n+IQB=xdlKw89ZJ6 KT-G@yGywn{QBDc~ literal 0 HcmV?d00001 diff --git a/images/h1.png b/images/h1.png new file mode 100644 index 0000000000000000000000000000000000000000..96baecbb181808e6195df19b34d30fdbe449005c GIT binary patch literal 203 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmUzPnffIy#(?lOI#yL zg7ec#$`gxH85~pclTsBta}(23gHjVyDhp4h+5i>Bdb&7@t(=e&25sC@QQxHqYPcijS=Dp xa*lmqx*KEgA<>UkLoomV literal 0 HcmV?d00001 diff --git a/images/hr.png b/images/hr.png new file mode 100644 index 0000000000000000000000000000000000000000..08be8e56985b766a47b538a0b41994adac7e17ed GIT binary patch literal 218 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmUzPnffIy#(?lOI#yL zg7ec#$`gxH85~pclTsBta}(23gHjVyDhp4h+5i>hc)B=-RNPAX^Z&m+vuXqDv4oTq zm0Kzcmi8E!3HN+_aE#Y&0*j%GFc8K++i}uAG%XUSs34d-z{Y@>7}%M3fG+LZu=Y`q*co^T7AjFtQAOL-vC}$S zQ_{lXf_l>BEZN^Lcb^m1ZnsacMRn)l&IKdvw58XNL;yp>R~uB zm4YvvVv|_Z_iDI0+ZBNnH(tImj0^^&7^T2-0%9|VEazDNRC4-dlDFyicgScV+{DkV429kB;W9Z zQSWQZ9tJL#x;@*3KQNv7DSe{%82beYfdkK3W7sqlj@mL?COXXd{ITL8(-l^>mY9Y- q2ZpFmu?)SubJz^{D)Lx33>YTKt~+03|34n+C(RCwAn zQ|nJ#br^ns=lpsuJ*PKHOR1HO$t}VdxC}Chc$qSs1l?kEny8Ce7892lFCX@S_`xsk zi!m|&154aAUSiCM*@sP$ESrUN(XHz^g`Qn>*={#Bzuzg+w(qopZCdwBExS2 zNg$|{B`{QHOUtl+KF}wQ_;X$1iYnQf(v(cERR2h>Eq&{EF`K;G4W?Gt6Hu2ow~azBTYYzQ0LI71 zuk1)_qiyZkAlrt`UQ^wUhUvXJMuIbdV%v`i2KG-0| zf?TWR#ga+TEWe)F!rAq;%M8l`CMd2knijLgN~XejTGjThuhnXD(l?t)IOf+EMXh1t zNzU!lvNK0>ZmPY~*-o1zMF$)dcGW*A;+#;`?<9(_x;=S>*tCPOPv=(bfDT0i-L^*@k?PF~hdjOkF1}3)_k;qmA^( zeNt_XOK%`Zu57{5?E-`kHNofwH>}P~Hx{Jy?~ZV)fWiY~kC7e2|9Dz^6|uCF)@;tw zr7}f3KN~u6(Thmh4|+WSyPg`$Q_vLTVLefRYhT7>xnvwC-7Q_BR^EOPinM%qw6~3S zk+zsC><|Q=4fGE-V4iFMN~gg|I04BR3J+`0-WjfYr>Lb{xfe;#6a8Ro^72kPx#ah_ zPM&`LNZa^eOJpW_6_bPxSnzexf z7Z)x^mlK*IRj9SCC>>kaP}Y|7#nsqWIXa&b6hWg|%;3pi=9NlCIl{Y{d9>TcT_A*D z*Qh88Agd<$UCoS13c^Cf)FaT7m*5dXY^~(SN002ovPDHLkV1f+J{~G`R literal 0 HcmV?d00001 diff --git a/images/ol.png b/images/ol.png new file mode 100644 index 0000000000000000000000000000000000000000..3df2b9b50741b0f3832b63dc6f917f07644af1c2 GIT binary patch literal 215 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmUzPnffIy#(?lOI#yL zg7ec#$`gxH85~pclTsBta}(23gHjVyDhp4h+5i=0db&7{-gIytMHI6SqrIEW;;mnc1rE z|MZ_xXM22w$4FYfZKX6@qer3F5lQYNY)Wn77ba_+WfoL8!0BZ1843z_q*Tu=3Kn@PC=mxMq zoWjJ9APAHB+Ums`G|yF`*Y}|FYYdz=AR;jMPdf%61;0jqoxm&q1fZ#~!fjK&OqKfV zhv^$c)~4Kjm^YZ4qEOe-0U$WbJ^DSqrtxOs$|JIE4+H=1#r&Fo*(()#A}<9H5HJ;psHz_ZN|9K0q;&l4CZWRNfkXD`%YwYhRCO=dXiJAg?7lCx!{iwYBYr1blMBz{Z55^&)Q zAt8v8O~>&cJ0sVV#o*9pk2Yi{&A|_<_(ULgv6#%kzjzCo!=HuN1iy3=<$t z;1KXQz=`X7aDdEt9>!6@9RGfqj+i>U07@+^`Xj&qbt>Z5V;@h400000NkvXXu0mjf Dm)R>H literal 0 HcmV?d00001 diff --git a/images/separator.png b/images/separator.png new file mode 100644 index 0000000000000000000000000000000000000000..9cb87b9a86bc39a2a468839fafdf0b8bc997740f GIT binary patch literal 210 zcmeAS@N?(olHy`uVBq!ia0vp^A|TAc1|)ksWqE-VOS+@4BLl5eA+`K$W+Bi%22WQ%mvv4F FO#lb2PM!b& literal 0 HcmV?d00001 diff --git a/images/ul.png b/images/ul.png new file mode 100644 index 0000000000000000000000000000000000000000..978be7e755ee39077e8499f07c9370dc4cd47484 GIT binary patch literal 172 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmUzPnffIy#(?lOI#yL zg7ec#$`gxH85~pclTsBta}(23gHjVyDhp4h+5i>VdAc};RNPAX^Z&m+vuZFKHX%l5@eIgUAji-YmlMF$z)BM${T7#P_Y_?UEMS%Ut8 P+{57M>gTe~DWM4f1j;k$ literal 0 HcmV?d00001 diff --git a/images/undo.png b/images/undo.png new file mode 100644 index 0000000000000000000000000000000000000000..533faaf606929565258d939068f288ca80e008ea GIT binary patch literal 651 zcmV;60(AX}P)ls4xaNX$Y2D{E(Jf4 zjdWd-K^iM@x8;38-&Ka}+3VG9Sb6gv^jOnBejgDNp2RnqbJt1XTNG5Vi`O1NKu(G$ zM-Mf37us=Torm=gJJ5Z%4T7>;zgGbo}S zwW}Cpz8#AjRP~-GL84{@L=uB3&4$tCNzx(TM}Z7%FwzI|tN^18G?bv6zHNQbheLaz z34{bbTYF+`-4lUzJH*~zKGlGjnW~4bYAYUMg9E!w16J9}Et|0hsbq@~IOct4)yXI42sKy?j;KB0-Gj)`DA!H59`X`41@P6j}&MRvCE6Y zl=}_{`PD`Ia{OkKq*UlV_{yFo>kEdsHAncn1V~(@nhX!o2#Rjex&P<4FdOH2aJX68 l{eOE*HUIC^{;<9XFaYm(@c91MlRW?c002ovPDHLkV1k!B7<~W$ literal 0 HcmV?d00001 diff --git a/images/wmd-on.png b/images/wmd-on.png new file mode 100644 index 0000000000000000000000000000000000000000..4844ae917f37c5d3ff72acdde3392e64cd431521 GIT binary patch literal 477 zcmV<30V4j1P)X1^@s6b5wmq00004XF*Lt006JZ zHwB960000PbVXQnQ*UN;cVTj606}DLVr3vnZDD6+Qe|Oed2z{QJOBUzZ%IT!RCwC# zSBq_fFc6Kq0V`w$ufPg)1Udp8fsQ~%2qVNJzzAf7Faq^S@1iHmCaFjjHT6j+&QEve zdp>`JS(at@3i7sl5y?a{k^fA@7&CcYymq-Gf0l@E-+(r@gjK*qE5ch~1IFspKy@rR zt=GNR6Z=Kx=eUXITNQZ_S-nVdF$Tg~V4^MI1F#0;Wkn~imk8b@=80(+)_aYO5U~_! zgMzOFy%Z5Yp0otkaV+8rBBlBEUSipCcGm2sGW-V zS@L7jNg}Dke!y3{Q^Fp-I@l%QeI)*z$U7%&Em*hvNcOyv@8+#FQo$CsBb*7k8wEf0 z`gOEQb)+LTt)P2QEoZv9EZGIl&(DdVoqf=9hnCL)_Ndk81?fOQ4|}oYK^)npf?ZX1^@s6b5wmq00004XF*Lt006JZ zHwB960000PbVXQnQ*UN;cVTj606}DLVr3vnZDD6+Qe|Oed2z{QJOBUzm`OxIRCwC# zSMN*1Fc58xWu-Ub$PZ7i*mEG?w*7DEoLk;Y1Fa|}1KWCObv zdx>EQZD4!C^MkCZWGrQDpf6AhT|o=K4t{lT{*wImwAbh!c@rW9*=E69%e){TmNIzG zB@nIx6t4sD#FL@Gc*!V$qf5*9!?AH50REWcof3fT!}1J(kFG%pl#B3M)QbH|_RENb z+ixBCk0S!-h7KtLz*Yz<55U>Pheg9?sI0ua!tT~vBCmRaRmmD(ruL`JzN0cK2#}#e zhsw&=cAqeyL-0-o!Sr+c$$noFX$kO*(%tqD>?^Cof4P1+?F%C3?F)*anF!0CZmyi> zO8RR&5lN>GQf{b!*k&gp!U4G!0>^o9(~bU#;xaJz{Xu{Y*{90JF?ax9%gyC7a__F@ zDZcD_AX@E!eF`$}hS~<@w)sx8r|}Not bold + +Here is an `inline code block` created with backticks. + +This text uses a line +break + +Some text in *italics* and some _more text in italics._ + +Some **bold** text and __some more.__ + +Both ***bold and italic*** and ___again___. + +Here is a standard hyperlink Stack Overflow + +Inline link to [Google](http://www.google.com/) +Reference-style link to [Google][1] +Here's a more readable reference link to [Google][google] + +Here's an inline [link](http://www.google.com/ "Google") with a tooltip in quotes. +A reference [link][parens] in parentheses. +A reference [link][quotes] in quotes. + +Automatically converted link: http://www.stackoverflow.com +A link that is forced: + +Level 1 Header can use any number of equal signs += + +Level 2 Header can use any number of dashes +- + +# You can also use # +## Hash marks to create header levels +### The closing hash marks are optional ### + +Horizontal rules use 3 or more hyphens, asterisks or underscores + +--- +text +*** +text +___ +text + +breaking up the line markers also works +* * * +A bulleted list: + +- Use a dash ++ Or a plus sign +* Or an asterisk + +A numbered list: + +1. Numbered lists are easy +2. The numbers are automatically tracked +7. So this will be number 3 + +Double-spaced list: + +- You can make a spaced-out list wrapped in `

` tags + +- By putting a space in between the lines + +Nested Lists: + +1. Lists in a list item: + - Indent four spaces + * Per list level + +2. You can do multiple paragraphs if you skip a line. + + And indent four spaces. + + Three works, too but that can be confusing. + +3. To put blockquotes in a list item + + > Skip a line and indent the starting '>' four spaces. + +4. To put preformatted code in a list item + + Skip a line and indent eight spaces. + +Simple Blockquotes + +>Just add > to the start of the line. +>And you'll get a blockquote. + +Blockquote paragraphs + +> Putting a > +> +> on blank lines is optional + +> it all looks the same to the markdown editor. + +Blockquote nesting + +>You can nest +>>blockquotes to any +>>>level you want + +Lists in blockquotes + +> - A list in a blockquote +> - Have to have a > and a space before the bullet marker +> * And you can do nested lists. + +Code and quotes + +> Just indent the text four spaces after the > + +Images + +Inline image: ![Alt text goes here](http://w3.org/Icons/valid-xhtml10) +Reference image with tooltip: ![valid XHTML][checkmark] +You can't do this ![checkmark] +but you can do this ![checkmark][] where the ref name will be the alt text. + +Regular image links also work, including scaling: + + + +[1]: http://www.google.com +[Google]: http://www.google.com +[parens]: http://www.google.com (Click to go to Google) +[quotes]: http://www.google.com "Click for Google" +[checkmark]: http://w3.org/Icons/valid-xhtml10 "Image tooltip" \ No newline at end of file diff --git a/wmd-test.css b/wmd-test.css new file mode 100644 index 0000000..d48f1b3 --- /dev/null +++ b/wmd-test.css @@ -0,0 +1,7 @@ +.pretty { width:50%; } + +textarea { width:50%; height:200px; } + +.wmd-preview { background-color:#66CCFF; } + +.wmd-output { background-color:#FFCCFF; } \ No newline at end of file diff --git a/wmd-test.html b/wmd-test.html new file mode 100644 index 0000000..88da8f1 --- /dev/null +++ b/wmd-test.html @@ -0,0 +1,17 @@ + + + + + Test WMD Page + + + + + +
+

+
+
+ + + \ No newline at end of file