Skip to content


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
@@ -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](
<%- messages() %>
+### [Jade](
+ - 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.