See doctype documentation for more information. It is sometimes useful to get self-closing tags and remove mirroring of boolean attributes. doctype : string If the doctype is not specified as part of the template, you can specify it here. basedir : string The root directory of all absolute inclusion. Used in exceptions, and required for relative include\s and extend\s. render( 'p Hello world!') Īll API methods accept the following set of options: filename : string The name of the file being compiled. Pug is available in your Web browser’s console! To test drive Pug’s API, as documented on this page, try entering: pug.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |