S
S
Sergey Goryachev2017-02-22 11:04:16
Emmet
Sergey Goryachev, 2017-02-22 11:04:16

How to write lists on Emmet?

As I write a question on a toaster, I mentally understand that my questions are stupid.
But still, I can’t find how to implement it correctly)
I’m trying to make a list on Emmet that is immediately filled with the necessary data.
How to create such a structure?

<ul>
   <li><a href="#">Чермет</a></li>
   <li><a href="#">Цветмет</a></li>
   <li><a href="#">Металлопрокат</a></li>
</ul>

UPD: Partially I know already ul>li*3>a
But how to write the whole structure with text and maybe immediately with links?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
iBird Rose, 2017-02-22
@webirus

ul>li>a{Blackmetal}+a{Nonferrousmetal}+a{Rolled metal}
ul>li>a[href="#"]{Blackmetal}+a[href="#"]{Nonferrousmetal}+a[href= "#"]{Rolled metal}

T
The Dragger, 2017-02-22
@IPD2

ul>(li>a)*3

D
display: block, 2017-02-22
@qork

Emmet has such a thing as wrap with abbreviation. For example, in my sublime it is called by ctrl+shift+G. Selecting text

Цветмет
Чермет
Металлопрокат
and enter the abbreviation ul>li*>a[href="#" ]
docs.emmet.io/actions/wrap-with-abbreviation
1.Цветмет
2.Чермет
3.Металлопрокат

You can remove the numbering and other sheet-style design from each item.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question