this urls as:
www.google.com
www.yahoo.com
www.instagram.com
www.github.com
are in my editor and i want to make some li
and a
from them form example:
<ul>
<li><a href="www.www.google.com" target="_blank">www.yahoo.com</a></li>
<li><a href="www.instagram.com" target="_blank">www.instagram.com</a></li>
<li><a href="www.github.com" target="_blank">www.github.com.com</a></li>
</ul>
with this emmet snippet:
ul>li*4>a[href="http://www.$#.com" target="_blank"]{http://www.$#.com}
but it doesnt work correctly and i get this output:
<ul>
<li><a href="http://www.www.google.com
www.yahoo.com
www.instagram.com
www.github.com.com" target="_blank">http://www.www.google.com
www.yahoo.com
www.instagram.com
www.github.com.com</a></li>
<li><a href="http://www.www.google.com
www.yahoo.com
www.instagram.com
www.github.com.com" target="_blank">http://www.www.google.com
www.yahoo.com
www.instagram.com
www.github.com.com</a></li>
<li><a href="http://www.www.google.com
www.yahoo.com
www.instagram.com
www.github.com.com" target="_blank">http://www.www.google.com
www.yahoo.com
www.instagram.com
www.github.com.com</a></li>
<li><a href="http://www.www.google.com
www.yahoo.com
www.instagram.com
www.github.com.com" target="_blank">http://www.www.google.com
www.yahoo.com
www.instagram.com
www.github.com.com</a></li>
</ul>
答案 0 :(得分:2)