Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for : grouping, multiplication, default elements ( from emmet spec ) #2

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

perymimon
Copy link

@perymimon perymimon commented Jun 30, 2016

add support for default elements
li for uland ol
trfor table, tbody, theadand tfoot
tdfor tr
optionfor selectand optgroup
like : ul>.item*3 ==> ul>li.item*3

add support for grouping ( 2 level nest only )
like:
aa>bb+(cc>dd)+ee

add support for multiplication
aa>bb*3

add support for grouping and multiplication together
like:
(a*2+b)*4
ul>{test1}*4
ul>{test1}*4+(ul>{test2})

start adding loren generator

like : div{some text}*3
li for ul and ol
tr for table, tbody, thead and tfoot
td for tr
option for select and optgroup

like : ul>.item*3	  == ul>li.item*3
and fix multiplication to work right

so stuff like that should work:
(a*2+b)*4
ul>{test1}*4
ul>{test1}*4+(ul>{test2})
and fix multiplication to work right

so stuff like that should work:
(a*2+b)*4
ul>{test1}*4
ul>{test1}*4+(ul>{test2})
(aa+bb)>cc+dd
(aa+bb)*3>cc+dd^ff
even:
(aa+bb)>cc>dd^^ff
and add protection for over ^^^^^ ( stack in the root )
add protection to not create element if there is no `tag text`. but play the operation if there any
@perymimon perymimon changed the title add support for * add support for default elements li for ul and ol tr for table, tbody, thead and tfoot td for tr option for select and optgroup like : ul>.item*3 == ul>li.item*3 add support for grouping ( 2 level nest only ) like: aa>bb+(cc>dd)+ee add support for multiplication aa>bb*3 add support for grouping and multiplication together like: (a*2+b)*4 ul>{test1}*4 ul>{test1}*4+(ul>{test2}) Jul 6, 2016
@perymimon perymimon changed the title add support for default elements li for ul and ol tr for table, tbody, thead and tfoot td for tr option for select and optgroup like : ul>.item*3 == ul>li.item*3 add support for grouping ( 2 level nest only ) like: aa>bb+(cc>dd)+ee add support for multiplication aa>bb*3 add support for grouping and multiplication together like: (a*2+b)*4 ul>{test1}*4 ul>{test1}*4+(ul>{test2}) add support for : grouping, multiplication, default elements ( from emmet spec ) Jul 6, 2016
@christiansandor
Copy link
Owner

Please can you extend the tests to include the modifications? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants