Permalink
Browse files

Merge pull request #4 from niftylettuce/master

Readme doc addition for Jade
  • Loading branch information...
tj committed Sep 25, 2011
2 parents 588cbb1 + e26e097 commit 3adbdeb0816b56feef226b47647b447809d75966
Showing with 7 additions and 1 deletion.
  1. +7 −1 Readme.md
View
@@ -10,10 +10,16 @@ The _express-messages_ module provides flash notification rendering. To use simp
## Usage
-Then in a view you may output the notifications:
+Then in a view you may output the notifications based on your templating engine:
+
+### [EJS](https://github.com/visionmedia/ejs)
<%- messages() %>
+### [Jade](http://jade-lang.com/)
+
+ != messages()
+
Which outputs HTML as shown below:
<div id="messages">

0 comments on commit 3adbdeb

Please sign in to comment.