aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2020-01-10 13:27:24 -0500
committerJesús <heckyel@hyperbola.info>2020-01-10 13:27:24 -0500
commitd7424d40aa963e47d3224b81ccf41c4f8669617d (patch)
tree949207d0127a4ffb400e1b2df74df1144a78498d /README.md
parent312cbf5789eb62a53920353faa3503ebc60af249 (diff)
downloademmet-mode-d7424d40aa963e47d3224b81ccf41c4f8669617d.tar.lz
emmet-mode-d7424d40aa963e47d3224b81ccf41c4f8669617d.tar.xz
emmet-mode-d7424d40aa963e47d3224b81ccf41c4f8669617d.zip
Support boolean attributes
For example, script[src defer.] expands to <script src="" defer></script>. This notation is not documented in the cheet sheet, but you can use it in the playground. We should support boolean attributes for the other filters as well, say, haml.
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1fb534a..395e10b 100644
--- a/README.md
+++ b/README.md
@@ -279,12 +279,16 @@ 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=""] <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 m.] <b x="" m></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"/>