diff --git a/lib/markdownWriter.js b/lib/markdownWriter.js
index 0077d993103c431ca36d30c5bd334d6786272c9a..31320e9a3f3a17ff4834a461193d0a2e641ce5ac 100644
--- a/lib/markdownWriter.js
+++ b/lib/markdownWriter.js
@@ -133,7 +133,7 @@ function ejsRender(template, ctx) {
   //return JSON.stringify(obj, null, 2);
 }
 
-const generateMarkdown = function(filename, schema, schemaPath, outDir, dependencyMap) {
+const generateMarkdown = function(filename, schema, schemaPath, outDir, dependencyMap, docs) {
   var ctx = {
     schema: schema,
     _: _,
@@ -151,7 +151,7 @@ const generateMarkdown = function(filename, schema, schemaPath, outDir, dependen
     [ 'header.ejs', {
       schema: schema,
       dependencies: flatten(dependencyMap),
-      table: headers(schema, schemaPath, filename).render() } ],
+      table: headers(schema, schemaPath, filename, docs).render() } ],
     //[ 'divider.ejs', null ],
     //[ 'topSchema.ejs', ctx ],
     [ 'examples.ejs', { examples: stringifyExamples(schema.examples), title: schema.title } ]
diff --git a/lib/schema.js b/lib/schema.js
index 0d4cd6b25899a3bd171b8aa04fe7f5dae7e0a5ec..a625d727b977ca6f8170159824208389b4eb5b29 100644
--- a/lib/schema.js
+++ b/lib/schema.js
@@ -421,7 +421,7 @@ Schema.process = function(schemaMap, schemaPath, docDir, schemaDir, metaElements
         });
       }).then(object => {
         return Promise.all([
-          markdownWriter(schemaMap[schemaKey].filePath, object.mSchema, schemaPath, docDir, object.dep),
+          markdownWriter(schemaMap[schemaKey].filePath, object.mSchema, schemaPath, docDir, object.dep, docs),
           schemaWriter(schemaMap[schemaKey].filePath, object.wSchema, schemaPath, schemaDir) ]);
       });
   }).then(result => {
diff --git a/spec/lib/integrationTest.spec.js b/spec/lib/integrationTest.spec.js
index c30b0df281d07d0eef39bf60b9a7d209bdc59585..05a612c0c07d6f7b4e92f95f4b236053518a219d 100644
--- a/spec/lib/integrationTest.spec.js
+++ b/spec/lib/integrationTest.spec.js
@@ -21,7 +21,9 @@ describe('Process examples', () => {
       '-m',
       'template=reference',
       '-m',
-      'foo=bar'
+      'foo=bar',
+      '--link-abstract',
+      '../abstract.md'
     ]);
 
     ls.on('close', code => {