Categories
How to use tags in Pug mixin pass parameters?
For example, there is a mixin
+mixin test(text) p #{text}
"test <br> test"
<br>
Answer the question
In order to leave comments, you need to log in
It seems so
- var a = "Hello, <br> World!" p!= a
https://pugjs.org/language/interpolation.html#stri...
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question