Skip to content

Commit

Permalink
Added docs for changing default doctype
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Jul 1, 2010
1 parent 13b2346 commit f168fb8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,10 @@ defined by default, which can easily be extended:
'mobile': '<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">'
};

To alter the default simply change:

jade.doctypes.default = 'whatever you want';

## Filters

Filters are prefixed with `:`, for example `:markdown` and
Expand Down

0 comments on commit f168fb8

Please sign in to comment.