Skip to content

Commit

Permalink
Better pretty documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Gu <[email protected]>
  • Loading branch information
TimothyGu committed Nov 12, 2014
1 parent d8dd7ee commit 8fb4272
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/views/api.jade
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ block content
dd.type.string string
dd.description If the doctype is not specified as part of the template, you can specify it here. It is sometimes useful to get self-closing tags and remove mirroring of boolean attributes.
dt pretty:
dd.type.boolean boolean|string
dd.description Adds whitespace to the resulting html to make it easier for a human to read. If a string is specified, it will be used as indentation. (e.g. #[code '\t'])
dd.type boolean | string
dd.description Adds whitespace to the resulting html to make it easier for a human to read using #[code ' '] as indentation. If a string is specified, that will be used as indentation instead (e.g. #[code '\t']).
dt self:
dd.type.boolean boolean
dd.description Use a #[code self] namespace to hold the locals (false by default)
Expand Down

0 comments on commit 8fb4272

Please sign in to comment.