A
A
Alex Glebov2017-12-12 13:19:59
Node.js
Alex Glebov, 2017-12-12 13:19:59

How to force pug to write inline elements from a new line?

<div class="soc-list"><a class="soc-item" href="#"><img class="soc-item__img" src="images/soc1.png" alt></a><a class="soc-item" href="#"><img class="soc-item__img" src="images/soc2.png" alt></a><a class="soc-item" href="#"><img class="soc-item__img" src="images/soc3.png" alt></a><a class="soc-item" href="#"><img class="soc-item__img" src="images/soc4.png" alt></a><a class="soc-item" href="#"><img class="soc-item__img" src="images/soc5.png" alt></a><a class="soc-item" href="#"><img class="soc-item__img" src="images/soc6.png" alt></a></div>

It needs to be turned into a pretty: true formatted code does not work, because it is outdated,
tell me the setting or plugin for this

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question