Browse Source

Improve example for html snippets

Samy Pessé 11 years ago
parent
commit
8edfcb707a
1 changed files with 8 additions and 0 deletions
  1. 8 0
      index.js

+ 8 - 0
index.js

@@ -8,8 +8,16 @@ module.exports = {
             "test.css"
         ],
         html: {
+            "html:start": function() {
+                return "<!-- Start book "+this.options.title+" -->"
+            },
+            "html:end": function() {
+                return "<!-- End of book "+this.options.title+" -->"
+            },
+
             "head:start": "<!-- head:start -->",
             "head:end": "<!-- head:end -->",
+
             "body:start": "<!-- body:start -->",
             "body:end": "<!-- body:end -->"
         }