Is it possible? If so, how? If its not, do I have to abandon pug if I need to write PHP in my documents? After searching around I didnt find anyone that has adressed this.
You can use the scape syntax with quotes:
!{''}
For example:
p Hello !{''}
Will render:
Hello
You can test it here: https://pug-demo.herokuapp.com/