Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added documentation for Jade support.

  • Loading branch information...
commit fc7f74640bd551660df829f437d3702e7093364f 1 parent 588cbb1
@niftylettuce niftylettuce authored
Showing with 8 additions and 1 deletion.
  1. +8 −1 Readme.md
View
9 Readme.md
@@ -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">
Please sign in to comment.
Something went wrong with that request. Please try again.