From 9f4ecee2ee487f46de8acdc588f6ba448ab3ba95 Mon Sep 17 00:00:00 2001 From: Kirill Klenov Date: Thu, 27 Feb 2014 12:29:20 +0700 Subject: [PATCH] Fix markdownextra set --- Changelog | 1 + Makefile | 4 ++++ .../sets/markdown-extra/images/bold.png | Bin 304 -> 0 bytes .../sets/markdown-extra/images/code.png | Bin 859 -> 0 bytes .../sets/markdown-extra/images/italic.png | Bin 223 -> 0 bytes .../sets/markdown-extra/images/link.png | Bin 343 -> 0 bytes .../sets/markdown-extra/images/list-bullet.png | Bin 344 -> 0 bytes .../sets/markdown-extra/images/list-numeric.png | Bin 357 -> 0 bytes .../sets/markdown-extra/images/picture.png | Bin 606 -> 0 bytes .../sets/markdown-extra/images/preview.png | Bin 537 -> 0 bytes .../sets/markdown-extra/images/quotes.png | Bin 743 -> 0 bytes .../django_markdown/sets/markdownextra/set.js | 7 +++---- .../django_markdown/sets/markdownextra/style.css | 12 ++++++------ 13 files changed, 14 insertions(+), 10 deletions(-) delete mode 100644 django_markdown/static/django_markdown/sets/markdown-extra/images/bold.png delete mode 100644 django_markdown/static/django_markdown/sets/markdown-extra/images/code.png delete mode 100644 django_markdown/static/django_markdown/sets/markdown-extra/images/italic.png delete mode 100644 django_markdown/static/django_markdown/sets/markdown-extra/images/link.png delete mode 100644 django_markdown/static/django_markdown/sets/markdown-extra/images/list-bullet.png delete mode 100644 django_markdown/static/django_markdown/sets/markdown-extra/images/list-numeric.png delete mode 100644 django_markdown/static/django_markdown/sets/markdown-extra/images/picture.png delete mode 100644 django_markdown/static/django_markdown/sets/markdown-extra/images/preview.png delete mode 100644 django_markdown/static/django_markdown/sets/markdown-extra/images/quotes.png diff --git a/Changelog b/Changelog index f87f0e4..feb8980 100644 --- a/Changelog +++ b/Changelog @@ -1,6 +1,7 @@ 2014-02-27 horneds * Support extension configurations + * Fix markdown extra set 2014-02-26 horneds diff --git a/Makefile b/Makefile index 68092c1..b02d875 100644 --- a/Makefile +++ b/Makefile @@ -30,6 +30,10 @@ clean: register: @python setup.py register +.PHONY: sdist +sdist: + @python setup.py sdist + .PHONY: upload # target: upload - Upload module on PyPi upload: docs diff --git a/django_markdown/static/django_markdown/sets/markdown-extra/images/bold.png b/django_markdown/static/django_markdown/sets/markdown-extra/images/bold.png deleted file mode 100644 index 889ae80e37b6167cc15f2a89e05a183815ec18b2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 304 zcmV-00nh%4P)b^}|6b=Y6y(;Y{!a!g z@UQp#@Aw}>L3(}s|7f5BUjeuKZvQRjV<2U7yvu*H{aAbvQ6K!@3oKzW z-{Qa8d3gae1^)HE{~f^!v<1}u>;4xnKvUpW540I-w9J3a{{r=B3T*2g{_BH1CtaZO zpZ`6V0*V5g1e5i;`_=Z#_e=H*@8|93RG@lX;D!K7TKswwko8{x00005>jf6w4x#gTU%_MMNlkNp$oSbvBp&uHw9M;u0-4@=t5BI zP6Hx#-C_{5RMJ z0_P+Xkumexn8%)S+Y)#l(gR;YJP<6#1-=jjK0LONWPdJQIR8uK1HpvVIxBIQ2ztt+ zqoEx_X9S%QGMe=~(k#sebCL-an)%CR%a7YtUOQUgv+G>~?N~XSWhx=? z@$fx}0MB;$`JWcQ-Re{XV~5|{DvU(#*+NF*g)j^qk#b~G9_O!i*y&mZVZ=a3;Go(K z`DkskYn56Nhu+k@1Ke*uY|x zI&k6j$JfNe_a{GH%=n2rZOz$Z8R9V?Pe36hIk}jo+A-`;dt9vyvBu#Xm@veu&@v`| zzt%mwc_$nd0-sMVx2d)b0!MqGxmfCumx7yB#nIUWvA{!HOMfslMyW1iV&nY>zxwyj z8^JfLN|kT z4m^Q1mhO(_r4w@`V?H=YNkOf(i&bHT3Auc3bryK1_{hDSetLoLN{VLB^78ULiNFy^ zkUqqG$fjVkJj5tfWkOn|P5`HVEp5@-mGnc0wvJGHC=+39MC2TWT#i?t*~fNch*he_ zgtS^8dH$(KlW)EF1b4Fzv~?&0IQaNdg;W5&{t&Bmg9&N1-rBBr_;Rg8ekw^mn;@T# zlS{|Rq+-Nlg18i%UY;i|q1NnSwf>I@85#4U4002ovPDHLkV1mEDi4_0< diff --git a/django_markdown/static/django_markdown/sets/markdown-extra/images/italic.png b/django_markdown/static/django_markdown/sets/markdown-extra/images/italic.png deleted file mode 100644 index 8482ac8cb1eb8bc8edbf64085108f0fbd204fadb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 223 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!60wlNoGJgf6SkfJR9T^zbpD<_bdI{u9mbgZg z1m~xflqVLYGB~E>C#5QQ<|d}62BjvZR2H60wE-$B^mK6y(Kw&{<9vg>Q9!g~ne(gm zmj4swoA@7?D86%i^8WzK9JM17E&sp&Z#dpHfz$E-U9ks&4?Z9Gyg!%0k2Q{M-Tz#> z2OnD>vrPZ*#{EHKLq)>Jcx{H|Ovdb&|4aQZWSipI{El%e^Cxx{^9vSw28s;a3IDB= TS1%U=TF&6<>gTe~DWM4fm>N^1 diff --git a/django_markdown/static/django_markdown/sets/markdown-extra/images/link.png b/django_markdown/static/django_markdown/sets/markdown-extra/images/link.png deleted file mode 100644 index 25eacb7c2524142262d68bf729c5e2b61adfd6d4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 343 zcmV-d0jU0oP)$`dXYaZs9=SbAto%g@>T~?_bH&lTUn@`uo|1bXE{eSR(AO)ESb=V4`uk}mK|39Px&03WLbv~pzk+s7D@lK^ zn+aB+sp)&Y_x-B3>;6ywU--WQNUr<8>TU0P-|L#1U&;A)67w(+> pDf@fM7q9#F25QXo3rUI;002ro52U44e~JJA002ovPDHLkV1l;_q@Mr) diff --git a/django_markdown/static/django_markdown/sets/markdown-extra/images/list-bullet.png b/django_markdown/static/django_markdown/sets/markdown-extra/images/list-bullet.png deleted file mode 100644 index 4a8672bde48f806d3d4d37db192588a9aa3eac10..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 344 zcmV-e0jK_nP)PbXFR5;6H z`2YVu10|S&DhA}te_Swi*Xsu$nk)lAnzx?+_#Z@r_~qs0*+Bfiq@?73K|#U)?Ck9S zsi~>|6A}{sM@B~e4-O9gPhA%bd?2RGd{of6>E(lvp1b6Ep>6&12TPB<{a?EDDL4@0 z;^ML+A|n0=1_u83^78uc?CkvC#>VEqiHXU7U0vP(YHDhzff&$ntDt1@;|H#l*M@2! z+U8#>h@W=vfpy*`^1J}j+`sMRe-I7g8yOj8Yin!&S5Z;VicFNp}SURRVGD{CSNFe~ni^^#wyl5uzj4je z|23%2?k#{x(*%mqe9M%mih+W%ElRQ}7!$^91> z7ymCLB=nz$hvz>#JNtiTW@gkt1Zf0eyP_){bPq%T_kY#2Z7&xs00000NkvXXu0mjf DNYA0= diff --git a/django_markdown/static/django_markdown/sets/markdown-extra/images/picture.png b/django_markdown/static/django_markdown/sets/markdown-extra/images/picture.png deleted file mode 100644 index 4a158fef7e0da8fd19525f574f2c4966443866cf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 606 zcmV-k0-^nhP)Q2rnAt>LM%-F zK|rtwgcU)}7x~z1Hrcs5bH*ZO$!>xO8K#?==bZPQ_ecnV>#P`H`QzGaRhd62G_&rC zTLU$c7_x*nFP_dW#Q+*);mMHE?j)HexK784D4x9l_tfpz2$@1y}9rkF+ zI+J5NMWeZyObc!d+rUc=>D+uOdAOg#%+Ej6h+wn5^xPmVVH*Eu446Y0A_@ zo$rlds-+sL10DbHs{AQG2a)rMyf zFQK~pm1x3+7!nu%-M`k}``c>^00{o_1pjWJUTfl8mg=3qGEl8H@}^@w`VUx0_$uy4 z2FhRqKX}xI*?Tv1DJd8z#F#0c%*~rM30HE1@2o5m~}ZyoWhqv>ql{V z1ZGE0lgcoK^lx+eqc*rAX1Ky;Xx3U%u#zG!m-;eD1Qsn@kf3|F9qz~|95=&g3(7!X zB}JAT>RU;a%vaNOGnJ%e1=K6eAh43c(QN8RQ6~GP%O}Jju$~Ld*%`mO1p?P)vCi#|P&Xm-dkucwL z3)87{8iWe96huvPHfK`KOdC2Z({T6vJ9pwDx$D4>d(Pqff6w7Lmj{5i6;ZyPPpPN; zroaW=6d#@oL2Fa53F~$Su10(RG%K0p3VTuP3?Z=nBA8z$uq+XLUL^QrC74`bU|!e| zr>hK{)%Q!vdmIO5Z3JIvaOyjOX`X@c8-ua03`Q&)f&%p*{(A$q`ZTTjk%q_T7>v^J zu!R-a9fFLScYlKkNBP_Cob=9m9JLVoC-?c{)eOtMnh7qNN{ejy2sM{pS^mgFHJm@(buuM4>=<5Vr$&Kzw{B?uPr; z(1Yf=#g)zADkWnx=MR%ykl| z3Ui42k+O2{bCn)01-s5Sxp|z{G2di&KT(_M6;$EI zDL57JFf}cw4bP1P$pgTRKH$0@h|~aA>j`qZ2*kU5t2EVD5#~@VNhqx{vz8ethDD-=+1vnemftUBA zF;N!Q%PBB5B=KLB#QO(CHe?;R+-C8M?ppDW>R$5`cCPq@YpusFRTaH1i9Kv;l<>I( Ze*oTy+;kdDB`N>_002ovPDHLkV1l3CM+g7_ diff --git a/django_markdown/static/django_markdown/sets/markdownextra/set.js b/django_markdown/static/django_markdown/sets/markdownextra/set.js index de002f1..ca83300 100644 --- a/django_markdown/static/django_markdown/sets/markdownextra/set.js +++ b/django_markdown/static/django_markdown/sets/markdownextra/set.js @@ -32,13 +32,12 @@ mySettings = { {separator:'---------------' }, {name:'Picture', key:'P', replaceWith:'![[![Alternative text]!]]([![Url:!:http://]!] "[![Title]!]")'}, {name:'Link', key:'L', openWith:'[', closeWith:']([![Url:!:http://]!] "[![Title]!]")', placeHolder:'Your text to link here...' }, - {name:'Definition', className:'definition', key:'D', openWith:'Term\n', placeHolder:': Your definition here ' }, + {name:'Definition', key:'D', openWith:'Term\n', placeHolder:': Your definition here ' }, {separator:'---------------'}, - {name:'Quotes', className:'quotes', openWith:'> '}, - {name:'Code Block / Code', className:'code', openWith:'(!(\t|!|`)!)', closeWith:'(!(`)!)'}, + {name:'Quotes', openWith:'> '}, + {name:'Code Block / Code', openWith:'(!(\t|!|`)!)', closeWith:'(!(`)!)'}, {separator:'---------------'}, {name:'Table', - className:'table', header:" header ", seperator:" ------ ", placeholder:" data ", diff --git a/django_markdown/static/django_markdown/sets/markdownextra/style.css b/django_markdown/static/django_markdown/sets/markdownextra/style.css index a31983c..1f788dd 100644 --- a/django_markdown/static/django_markdown/sets/markdownextra/style.css +++ b/django_markdown/static/django_markdown/sets/markdownextra/style.css @@ -42,20 +42,20 @@ background-image:url(images/link.png); } -.markItUp .definition a { +.markItUp .markItUpButton13 a { background-image:url(images/book_open.png); } - -.markItUp .quotes a { +.markItUp .markItUpButton14 a { background-image:url(images/quotes.png); } -.markItUp .code a { + +.markItUp .markItUpButton15 a { background-image:url(images/code.png); } - -.markItUp .table a { +.markItUp .markItUpButton16 a { background-image:url(images/table.png); } + .markItUp .preview a { background-image:url(images/preview.png); }