How can I produce the following HTML in Pug:
<p hello="{{there}}" {{extra-attributes}}>hey!</p>
It looks like you have to set the doctype to html:
doctype html p({{extra-attributes}})
At least, that works in a jade online converter.