diff --git a/examples/docs/arrays.schema.md b/examples/docs/arrays.schema.md
index 82a53f06b3908fb5e58f2b3e17550c0aedeccb6e..3b9f3bc8e6abdf5717594e8360406f66ecdd9976 100644
--- a/examples/docs/arrays.schema.md
+++ b/examples/docs/arrays.schema.md
@@ -19,13 +19,13 @@ This is an example schema with examples for multiple array types and their const
 
 | Property | Type | Required | Defined by |
 |----------|------|----------|------------|
-| [list](#list) | `string[]` | Optional | Arrays (this schema) |
-| [listlist](#listlist) | `array[]` | Optional | Arrays (this schema) |
-| [stringlistlist](#stringlistlist) | `string[][]` | Optional | Arrays (this schema) |
-| [intlist](#intlist) | `integer[]` | Optional | Arrays (this schema) |
-| [boollist](#boollist) | `boolean[]` | Optional | Arrays (this schema) |
-| [numlist](#numlist) | `number[]` | Optional | Arrays (this schema) |
-| [coordinatelist](#coordinatelist) | `number[][]` | Optional | Arrays (this schema) |
+| [list](#list) | `string`[] | Optional | Arrays (this schema) |
+| [listlist](#listlist) | `array`[] | Optional | Arrays (this schema) |
+| [stringlistlist](#stringlistlist) | `string`[][] | Optional | Arrays (this schema) |
+| [intlist](#intlist) | `integer`[] | Optional | Arrays (this schema) |
+| [boollist](#boollist) | `boolean`[] | Optional | Arrays (this schema) |
+| [numlist](#numlist) | `number`[] | Optional | Arrays (this schema) |
+| [coordinatelist](#coordinatelist) | `number`[][] | Optional | Arrays (this schema) |
 
 ## list
 
@@ -33,14 +33,14 @@ This is an array
 
 `list`
 * is optional
-* type: `string[]`
+* type: `string`[]
 
 * defined in this schema
 
 ### list Type
 
 
-Array type: `string[]`
+Array type: `string`[]
 
 All items must be of the type:
 `string`
@@ -59,7 +59,7 @@ This is an array of arrays
 
 `listlist`
 * is optional
-* type: `array[]` (nested array)
+* type: `array`[]
 
 * defined in this schema
 
@@ -83,14 +83,14 @@ This is an array of arrays of strings
 
 `stringlistlist`
 * is optional
-* type: `string[][]` (nested array)
+* type: `string`[][] (nested array)
 
 * defined in this schema
 
 ### stringlistlist Type
 
 
-Nested array type: `string[]`
+Nested array type: `string`[]
 
 
 
@@ -113,14 +113,14 @@ This is an array
 
 `intlist`
 * is optional
-* type: `integer[]`
+* type: `integer`[]
 * between `1` and `10` items in the array
 * defined in this schema
 
 ### intlist Type
 
 
-Array type: `integer[]`
+Array type: `integer`[]
 
 All items must be of the type:
 `integer`
@@ -139,14 +139,14 @@ This is an array
 
 `boollist`
 * is optional
-* type: `boolean[]`
+* type: `boolean`[]
 * at least `1` items in the array
 * defined in this schema
 
 ### boollist Type
 
 
-Array type: `boolean[]`
+Array type: `boolean`[]
 
 All items must be of the type:
 `boolean`
@@ -163,14 +163,14 @@ This is an array
 
 `numlist`
 * is optional
-* type: `number[]`
+* type: `number`[]
 * no more than `10` items in the array
 * defined in this schema
 
 ### numlist Type
 
 
-Array type: `number[]`
+Array type: `number`[]
 
 All items must be of the type:
 `number`
@@ -189,14 +189,14 @@ This is an array of coordinates in three-dimensional space.
 
 `coordinatelist`
 * is optional
-* type: `number[][]` (nested array)
+* type: `number`[][] (nested array)
 * no more than `10` items in the array
 * defined in this schema
 
 ### coordinatelist Type
 
 
-Nested array type: `number[]`
+Nested array type: `number`[]
 
 
 
diff --git a/examples/docs/complex.schema.md b/examples/docs/complex.schema.md
index 7d71b10681ec1e3382055bb6abc1c09c518eae4c..c0ff8b22454d2785710f64bc4a208e562e7965d0 100644
--- a/examples/docs/complex.schema.md
+++ b/examples/docs/complex.schema.md
@@ -27,7 +27,7 @@ This is an example schema that uses types defined in other schemas.
 |----------|------|----------|------------|
 | [refabstract](#refabstract) | complex | **Required** | Complex References  (this schema) |
 | [refnamed](#refnamed) | Simple | Optional | Complex References  (this schema) |
-| [reflist](#reflist) | Simple | Optional | Complex References  (this schema) |
+| [reflist](#reflist) | Simple[] | Optional | Complex References  (this schema) |
 
 ## refabstract
 
@@ -83,14 +83,14 @@ Unknown type ``.
 
 `reflist`
 * is optional
-* type: Simple
+* type: Simple[]
 
 * defined in this schema
 
 ### reflist Type
 
 
-Array type: Simple
+Array type: Simple[]
 
 All items must be of the type:
 * Complex type: [Simple](simple.schema.md) – `https://example.com/schemas/simple`
diff --git a/lib/markdownWriter.js b/lib/markdownWriter.js
index bed5c763161e44480c0f9c95a5510255114c1c0b..6a37c7c5a63090b6d1f1c6f445ea4f2b877da92d 100644
--- a/lib/markdownWriter.js
+++ b/lib/markdownWriter.js
@@ -113,7 +113,7 @@ function simpletype(prop) {
       if (innertype.simpletype==='complex') {
         prop.simpletype = '`array`';
       } else {
-        prop.simpletype = innertype.simpletype.replace(/`$/, '[]`');
+        prop.simpletype = innertype.simpletype.replace(/.$/, '$&[]');
       }
       console.log();
     } else {