Domanda

I am just learning zen-coding and am trying to do this:

Entering 'lorem' and hitting tab will produce 50 word lorem text.

However, if I start with <p></p> and then type lorem + tab inside the tag, it does not produce the lorem text.

Is there a better way to do this?

È stato utile?

Soluzione

Use this:

p>lorem

and then tab

Altri suggerimenti

Since people are still reading this I will add, if you want to print off many lorems inside of p tags you can do this:

(p>lorem)*7

Replace 7 with how many lines you want!

use this:

<p>
lorem*(how many line you want) 
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top