You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to achieve something using Amber that I regularly used in Pug. It would be best described as an example from the Pug documentation:
Mixins can also take a block of Pug to act as the content:
mixin article(title)
.article
.article-wrapper
h1= title
if block
block
else
p No content provided
+article('Hello world')
+article('Hello world')
p This is my
p Amazing article
I'm trying to achieve something using Amber that I regularly used in Pug. It would be best described as an example from the Pug documentation:
The resulting HTML:
I tried the same code with Amber but it just ignores it.
I also tried sending mixins as parameters of a mixin. This also doesn't seem possible:
Any workaround for this?
The text was updated successfully, but these errors were encountered: