Multiple blocks in jade mixins?
Author: mentalheadCreated Oct 17, 2014Updated Oct 4, 2025
Labelsmixin
I was just wondering is there a way to use multiple blocks with different content with a jade mixin, like this or are we just limited to one block with same content per mixin?
``` jade
mixin article
block
p Mixin paragraph
block
block
```
and get the following results:
``` html
This is my first block
Mixin paragraph
This is my second block
This is my third block
```Source: pugjs/pug