Permalink
Browse files

Added documentation for Jade support.

  • Loading branch information...
1 parent 588cbb1 commit fc7f74640bd551660df829f437d3702e7093364f @niftylettuce niftylettuce committed Sep 25, 2011
Showing with 8 additions and 1 deletion.
  1. +8 −1 Readme.md
View
@@ -10,10 +10,17 @@ 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/)
+
+ - var m = messages()
+ != m
+
Which outputs HTML as shown below:
<div id="messages">

0 comments on commit fc7f746

Please sign in to comment.