Hubwiz.com
|
Online Course
|
API Manual
Pug API Manual
Component(62)
Option(12)
Method(7)
Property(1)
Component
Case
Case Fall Through
Block Expansion
Attributes
Multiline Attributes
Quoted Attributes
Attribute Interpolation
Unescaped Attributes
Boolean Attributes
Style Attributes
Class Attributes
Class Literal
ID Literal
&attributes
Tags
Block Expansion
Self-Closing Tags
Rendered Whitespace
Filters
Inline Syntax
Filtered Includes
Nested Filters
Custom Filters
Interpolation
String Interpolation, Escaped
String Interpolation, Unescaped
Tag Interpolation
Whitespace Control
Plain Text
Inline in a Tag
Literal HTML
Piped Text
Block in a Tag
Whitespace Control
Recommended Solutions
Not recommended
Doctype
Doctype Shortcuts
Custom Doctypes
Doctype Option
Conditionals
Template Inheritance
Block append / prepend
Common mistakes
Includes
Including Plain Text
Including Filtered Text
Mixins
Mixin Blocks
Mixin Attributes
Default Argument’s Values
Rest Arguments
Comments
Block Comments
Conditional Comments
Code
Unbuffered Code
Buffered Code
Unescaped Buffered Code
Iteration
each
while
Option
filename
basedir
doctype
pretty
filters
self
debug
compileDebug
globals
cache
inlineRuntimeFunctions
name
Method
pug.compile
pug.compileFile
pug.compileClient
pug.compileClientWithDependenciesTracked
pug.compileFileClient
pug.render
pug.renderFile
Property
pug.filters