Question

I have a problem of generating html element text with Zen Coding: Zen Coding ShortCut:

ul>(li>p{Element-$})*10

Generates 10 li>p elements with Element-1 code.

Is it any way to increase counter on each iteration?

Thank you.

P.S. I am working in Visual Studio 2013, but I guess Zen Coding should be universal

Was it helpful?

Solution

Visual Studio has its own, unofficial implementation of Zen Coding. So it’s a bug of VS plugin implementation.

By the way, try the following abbreviation: ul>li*10>p{Element-$}

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top