api documentation for pug (v0.1.0)

A clean, whitespace-sensitive template language for writing HTML

table of contents

  1. module pug
    1. function pug.__express (path, options, fn)
    2. function pug.compile (str, options)
    3. function pug.compileClient (str, options)
    4. function pug.compileClientWithDependenciesTracked (str, options)
    5. function pug.compileFile (path, options)
    6. function pug.compileFileClient (path, options)
    7. function pug.render (str, options, fn)
    8. function pug.renderFile (path, options, fn)
    9. object pug.cache
    10. object pug.filters
    11. object pug.runtime
  2. module pug.runtime
    1. function pug.runtime.attr (key, val, escaped, terse)
    2. function pug.runtime.attrs (obj, terse)
    3. function pug.runtime.classes (val, escaping)
    4. function pug.runtime.escape (_html)
    5. function pug.runtime.merge (a, b)
    6. function pug.runtime.rethrow (err, filename, lineno, str)
    7. function pug.runtime.style (val)

module pug

function pug.__express (path, options, fn)

function pug.compile (str, options)

function pug.compileClient (str, options)

function pug.compileClientWithDependenciesTracked (str, options)

function pug.compileFile (path, options)

function pug.compileFileClient (path, options)

function pug.render (str, options, fn)

function pug.renderFile (path, options, fn)

module pug.runtime

function pug.runtime.attr (key, val, escaped, terse)

function pug.runtime.attrs (obj, terse)

function pug.runtime.classes (val, escaping)

function pug.runtime.escape (_html)

function pug.runtime.merge (a, b)

function pug.runtime.rethrow (err, filename, lineno, str)

function pug.runtime.style (val)

[ this document was created with utility2 ]