Options
engine
version
allowMixedIndent
allowMixinOverride
classAttribute
expressionLanguage
prettyprint
pugjs
restrictedScope
singleQuote
mode
doctype html html(lang="en") head title= $pageTitle script(type='text/javascript'). if (foo) { bar(1 + 5) } body h1= $pageTitle #container.col if $youAreUsingJade p You are amazing else p Get on it! p. Pug.php is PHP port Pug (JS) the node template engine.
array( 'pageTitle' => 'Try Pug.php and never recode HTML again', 'youAreUsingJade' => true, )
Preview