diff options
author | William David Mayo ("Dave") <pobocks@gmail.com> | 2014-08-10 18:21:37 -0400 |
---|---|---|
committer | William David Mayo ("Dave") <pobocks@gmail.com> | 2014-08-10 18:21:37 -0400 |
commit | f085c9e3c248358cb5bd06b1d8495fa8b0f35638 (patch) | |
tree | df0d458fb0c47f3549d5c6bcb60d1d65e6a75e66 /README.md | |
parent | 4ab83795aa00b0f8ff6ad97ca0d63e91ebe09628 (diff) | |
parent | e47b30a56de5fee21a029c5e9d168be744949d92 (diff) | |
download | emmet-mode-f085c9e3c248358cb5bd06b1d8495fa8b0f35638.tar.lz emmet-mode-f085c9e3c248358cb5bd06b1d8495fa8b0f35638.tar.xz emmet-mode-f085c9e3c248358cb5bd06b1d8495fa8b0f35638.zip |
Merge pull request #30 from pobocks/issue_28
Issue 28 - This seems to work better and fail on less cases than the current code, anyway. I've seen some pausing when expanding hiccup inside Clojure code, but the existing code fails entirely in the same spot, so it's an improvement.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 52 |
1 files changed, 26 insertions, 26 deletions
@@ -93,7 +93,7 @@ you'll transform your snippet into the appropriate tag structure. #### Self-closing tags - input type=text <input type="text" name="" value=""/> + input[type=text] <input type="text" name="" value=""/> img <img src="" alt=""/> img>metadata/*2 <img src="" alt=""> <metadata/> @@ -137,7 +137,7 @@ you'll transform your snippet into the appropriate tag structure. <ol> <li></li> </ol> - ul#q.x.y m=l+ <ul id="q" class="x y" m="l"> + ul#q.x.y[m=l] <ul id="q" class="x y" m="l"> <li></li> </ul> @@ -267,27 +267,27 @@ you'll transform your snippet into the appropriate tag structure. #### Properties - b x <b x=""></b> - b x= <b x=""></b> - b x="" <b x=""></b> - b x=y <b x="y"></b> - b x="y" <b x="y"></b> - b x="()" <b x="()"></b> - b x m <b x="" m=""></b> - b x= m="" <b x="" m=""></b> - b x=y m=l <b x="y" m="l"></b> - b/ x=y m=l <b x="y" m="l"/> - b#foo x=y m=l <b id="foo" x="y" m="l"></b> - b.foo x=y m=l <b class="foo" x="y" m="l"></b> - b#foo.bar.mu x=y m=l <b id="foo" class="bar mu" x="y" m="l"></b> - b/#foo.bar.mu x=y m=l <b id="foo" class="bar mu" x="y" m="l"/> - b x=y+b <b x="y"></b> + b[x] <b x=""></b> + b[x=] <b x=""></b> + b[x=""] <b x=""></b> + b[x=y] <b x="y"></b> + b[x="y"] <b x="y"></b> + b[x="()"] <b x="()"></b> + b[x m] <b x="" m=""></b> + b[x= m=""] <b x="" m=""></b> + b[x=y m=l] <b x="y" m="l"></b> + b/[x=y m=l] <b x="y" m="l"/> + b#foo[x=y m=l] <b id="foo" x="y" m="l"></b> + b.foo[x=y m=l] <b class="foo" x="y" m="l"></b> + b#foo.bar.mu[x=y m=l] <b id="foo" class="bar mu" x="y" m="l"></b> + b/#foo.bar.mu[x=y m=l] <b id="foo" class="bar mu" x="y" m="l"/> + b[x=y]+b <b x="y"></b> <b></b> - b x=y+b x=y <b x="y"></b> + b[x=y]+b[x=y] <b x="y"></b> <b x="y"></b> - b x=y>b <b x="y"><b></b></b> - b x=y>b x=y <b x="y"><b x="y"></b></b> - b x=y>b x=y+c x=y <b x="y"> + b[x=y]>b <b x="y"><b></b></b> + b[x=y]>b[x=y] <b x="y"><b x="y"></b></b> + b[x=y]>b[x=y]+c[x=y] <b x="y"> <b x="y"></b> <c x="y"></c> </b> @@ -387,11 +387,11 @@ you'll transform your snippet into the appropriate tag structure. a|haml %a a#q.x.y.z|haml %a#q.x.y.z - a#q.x x=y m=l|haml %a#q.x{:x => "y", :m => "l"} + a#q.x[x=y m=l]|haml %a#q.x{:x => "y", :m => "l"} div|haml %div div.footer|haml .footer .footer|haml .footer - p>{txt}+a href=#+br|haml %p + p>{txt}+a[href=#]+br|haml %p txt %a{:href => "#"} %br @@ -400,9 +400,9 @@ you'll transform your snippet into the appropriate tag structure. a|hic [:a] a#q.x.y.z|hic [:a#q.x.y.z] - a#q.x x=y m=l|hic [:a#q.x {:x "y", :m "l"}] + a#q.x[x=y m=l]|hic [:a#q.x {:x "y", :m "l"}] .footer|hic [:div.footer] - p>a href=#+br|hic [:p + p>a[href=#]+br|hic [:p [:a {:href "#"}] [:br]] #q>(a*2>b{x})+p>b|hic [:div#q @@ -413,7 +413,7 @@ you'll transform your snippet into the appropriate tag structure. #### Filter: escape - script src="|e <script src="&quot;"> + script[src="]|e <script src="&quot;"> </script> #### Aliases |