Professional Documents
Culture Documents
Zencoding PDF
Zencoding PDF
6
http://code.google.com/p/zen-coding
Selectors Filters 0.6
div#name. . . . . . . . . . . . . . <div id="name"></div> ul +. . . . . . . . . . . . . . . . . . . . . . . . . . <ul><li></li></ul> haml ������HAML syntax filter
div.name. . . . . . . . . . . . . . . <div class="name"></div> table + . . . . . . . . . . . . . . . . . . . . . . <table><tr><td></td></tr></table> html ��������HTML syntax filter
div.one.two. . . . . . . . . . . . <div class="one two"></div> dl +. . . . . . . . . . . . . . . . . . . . . . . . . . <dl><dt></dt><dd></dd></dl> e ��������������Escapes XML-unsafe characters: <, > and &
div#name.one.two. . . . . <div id="name" class="one two"></div> p.title|e 0.6. . . . . . . . . . . . . . . . . . . <p class="title"></p> c ��������������Add comments around important tags
div>p . . . . . . . . . . . . . . . . . . <div><p></p></div> p[title] 0.6. . . . . . . . . . . . . . . . . . . . <p title=""></p> fc ��������������Add whitespace after CSS property name
p+p. . . . . . . . . . . . . . . . . . . . <p></p><p></p> td[colspan=2] 0.6 . . . . . . . . . . . . <td colspan="2"></td> xsl ������������This filter removes select attribute from <xsl:variable> and
p*3. . . . . . . . . . . . . . . . . . . . . <p></p><p></p><p></p> span[title="Hello" rel] 0.6. . . . <span title="Hello" rel=""></span> <xsl:with-param> tags if they have child nodes
p.name-$*2. . . . . . . . . . . . <p class="name-1"></p><p class="name-2"></p>