Answer the question
In order to leave comments, you need to log in
Is there something similar in PUG?
mixin span_with_attrs(...attrs)
span([...attrs])
block
+span_with_attrs('id=spanid', 'data-msg=Message')
//-<span id="spanid", data-msg="Message"></span>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question