diff --git a/examples/docs/abstract.schema.md b/examples/docs/abstract.schema.md
index 8419fae0310ea20fb2a8bd39beec320e5c0840cd..62e2820584056c6f04cb209e67fdc7033bb81589 100644
--- a/examples/docs/abstract.schema.md
+++ b/examples/docs/abstract.schema.md
@@ -15,4 +15,4 @@ This is an abstract schema. It has `definitions`, but does not declare any prope
 |----------|------------|-------------------|------------|
 | Cannot be instantiated | Yes | Forbidden | [abstract.schema.json](abstract.schema.json) |
 
----
+---
\ No newline at end of file
diff --git a/examples/docs/custom.schema.md b/examples/docs/custom.schema.md
index 9a4bc1cb79aa9436a97e50877ad0fd2852063dca..dfbd694d71f96d1297d7af2c8b171e0554ee5b66 100644
--- a/examples/docs/custom.schema.md
+++ b/examples/docs/custom.schema.md
@@ -1,4 +1,3 @@
-
 ---
 template: reference
 foo: bar
diff --git a/examples/docs/deepextending.schema.md b/examples/docs/deepextending.schema.md
index ce410cfcc937fbb0c1b5da356c27c55fe71b87b5..b2c294bcf868ad01492a0612a3ab4e358b7bf0d5 100644
--- a/examples/docs/deepextending.schema.md
+++ b/examples/docs/deepextending.schema.md
@@ -1,4 +1,3 @@
-
 ---
 template: reference
 foo: bar
diff --git a/examples/docs/definitions.schema.md b/examples/docs/definitions.schema.md
index b96fbdab09675a054f7776ce02fedb6db8ba477d..5c6c6fa86d9aa30f7a12c9292367df055f5a8a70 100644
--- a/examples/docs/definitions.schema.md
+++ b/examples/docs/definitions.schema.md
@@ -1,4 +1,3 @@
-
 ---
 template: reference
 foo: bar
diff --git a/examples/docs/example.schema.md b/examples/docs/example.schema.md
index 9b5260f2183ed8103af2d1a0d85c55503e0025bf..ce447679ca0588a852bf9ff4227dc9317986708b 100644
--- a/examples/docs/example.schema.md
+++ b/examples/docs/example.schema.md
@@ -1,4 +1,3 @@
-
 ---
 template: reference
 foo: bar
diff --git a/examples/docs/extending.schema.md b/examples/docs/extending.schema.md
index b64a706817f3b51292766a91600191834a446572..935f93d6c02e52cfa996359f61a9671e67ea891b 100644
--- a/examples/docs/extending.schema.md
+++ b/examples/docs/extending.schema.md
@@ -1,4 +1,3 @@
-
 ---
 template: reference
 foo: bar
diff --git a/examples/docs/extensible.schema.md b/examples/docs/extensible.schema.md
index 8073e9fb9af06079c7997ea7f646047ab90d1106..922838dc072a7a5ecb8ecdef77bc96bf22d18278 100644
--- a/examples/docs/extensible.schema.md
+++ b/examples/docs/extensible.schema.md
@@ -1,4 +1,3 @@
-
 ---
 template: reference
 foo: bar
diff --git a/examples/docs/simple.schema.md b/examples/docs/simple.schema.md
index 20ef824e54da4f1c65d77a8b6c5e1c761c2a5ab5..d424f94fd29bd0d6842ea2b73dd9842567d49501 100644
--- a/examples/docs/simple.schema.md
+++ b/examples/docs/simple.schema.md
@@ -1,4 +1,3 @@
-
 ---
 template: reference
 foo: bar
diff --git a/examples/docs/subdir/subdir.schema.md b/examples/docs/subdir/subdir.schema.md
index a8f378657c9d2e69ffd97c4a13efaf63cf1f5918..a56f842f2885765d1dcd170053d08f00a7b3ba90 100644
--- a/examples/docs/subdir/subdir.schema.md
+++ b/examples/docs/subdir/subdir.schema.md
@@ -1,4 +1,3 @@
-
 ---
 template: reference
 foo: bar
diff --git a/templates/md/frontmatter.ejs b/templates/md/frontmatter.ejs
index ebea136f243402119eb8f09bb80b7f981dc98dbb..5b0b9021e03066729498309eb161d3f495baa0db 100644
--- a/templates/md/frontmatter.ejs
+++ b/templates/md/frontmatter.ejs
@@ -3,9 +3,7 @@
  * This file is licensed to you under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License. You may obtain a copy
  * of the License at http://www.apache.org/licenses/LICENSE-2.0
- */ %>
-<% if (meta) { %>
----
+ */ %><% if (meta) { %>---
 <%  _.forIn(meta, (value, key, object) => { %>
 <%= key %>: <%= value %>
 <% }); %>