diff --git a/doc/boards.md b/doc/boards.md
index 5c3104be6..e92c4c591 100644
--- a/doc/boards.md
+++ b/doc/boards.md
@@ -3,27 +3,27 @@ title: Supported Hardware
 ---
 
 ## Table of contents
-    * [Adafruit HUZZAH ESP8266 (ESP\-12)](#adafruit-huzzah-esp8266-esp-12)
-    * [NodeMCU 0\.9 <a name="user\-content\-nodemcu\-0\-9"></a>](#nodemcu-09-)
-      * [Pin mapping](#pin-mapping)
-    * [NodeMCU 1\.0](#nodemcu-10)
-    * [Olimex MOD\-WIFI\-ESP8266\-DEV](#olimex-mod-wifi-esp8266-dev)
-    * [Olimex MOD\-WIFI\-ESP8266](#olimex-mod-wifi-esp8266)
-    * [SparkFun ESP8266 Thing](#sparkfun-esp8266-thing)
-    * [SweetPea ESP\-210](#sweetpea-esp-210)
-    * [Generic ESP8266 modules](#generic-esp8266-modules)
-    * [Serial Adapter](#serial-adapter)
-    * [Minimal Hardware Setup for Bootloading and Usage](#minimal-hardware-setup-for-bootloading-and-usage)
-    * [ESP to Serial](#esp-to-serial)
-      * [Minimal Hardware Setup for Bootloading only](#minimal-hardware-setup-for-bootloading-only)
-      * [Minimal Hardware Setup for Running only](#minimal-hardware-setup-for-running-only)
-    * [Minimal](#minimal)
-    * [Improved Stability](#improved-stability)
-    * [Boot Messages and Modes](#boot-messages-and-modes)
-      * [rst cause](#rst-cause)
-      * [boot mode](#boot-mode)
-    * [WeMos D1](#wemos-d1)
-    * [WeMos D1 mini](#wemos-d1-mini)
+  * [Adafruit HUZZAH ESP8266 (ESP\-12)](#adafruit-huzzah-esp8266-esp-12)
+  * [NodeMCU 0\.9 <a name="user\-content\-nodemcu\-0\-9"></a>](#nodemcu-09-)
+    * [Pin mapping](#pin-mapping)
+  * [NodeMCU 1\.0](#nodemcu-10)
+  * [Olimex MOD\-WIFI\-ESP8266\-DEV](#olimex-mod-wifi-esp8266-dev)
+  * [Olimex MOD\-WIFI\-ESP8266](#olimex-mod-wifi-esp8266)
+  * [SparkFun ESP8266 Thing](#sparkfun-esp8266-thing)
+  * [SweetPea ESP\-210](#sweetpea-esp-210)
+  * [Generic ESP8266 modules](#generic-esp8266-modules)
+  * [Serial Adapter](#serial-adapter)
+  * [Minimal Hardware Setup for Bootloading and Usage](#minimal-hardware-setup-for-bootloading-and-usage)
+  * [ESP to Serial](#esp-to-serial)
+    * [Minimal Hardware Setup for Bootloading only](#minimal-hardware-setup-for-bootloading-only)
+    * [Minimal Hardware Setup for Running only](#minimal-hardware-setup-for-running-only)
+  * [Minimal](#minimal)
+  * [Improved Stability](#improved-stability)
+  * [Boot Messages and Modes](#boot-messages-and-modes)
+    * [rst cause](#rst-cause)
+    * [boot mode](#boot-mode)
+  * [WeMos D1](#wemos-d1)
+  * [WeMos D1 mini](#wemos-d1-mini)
 
 ## Adafruit HUZZAH ESP8266 (ESP-12)
 
diff --git a/doc/filesystem.md b/doc/filesystem.md
index 31aa148ab..f30bf80ca 100644
--- a/doc/filesystem.md
+++ b/doc/filesystem.md
@@ -3,25 +3,25 @@ title: File System
 ---
 
 ## Table of Contents
-    * [Flash layout](#flash-layout)
-    * [Uploading files to file system](#uploading-files-to-file-system)
-    * [File system object (SPIFFS)](#file-system-object-spiffs)
-      * [begin](#begin)
-      * [format](#format)
-      * [open](#open)
-      * [exists](#exists)
-      * [openDir](#opendir)
-      * [remove](#remove)
-      * [rename](#rename)
-      * [info](#info)
-    * [Filesystem information structure](#filesystem-information-structure)
-    * [Directory object (Dir)](#directory-object-dir)
-    * [File object](#file-object)
-      * [seek](#seek)
-      * [position](#position)
-      * [size](#size)
-      * [name](#name)
-      * [close](#close)
+  * [Flash layout](#flash-layout)
+  * [Uploading files to file system](#uploading-files-to-file-system)
+  * [File system object (SPIFFS)](#file-system-object-spiffs)
+    * [begin](#begin)
+    * [format](#format)
+    * [open](#open)
+    * [exists](#exists)
+    * [openDir](#opendir)
+    * [remove](#remove)
+    * [rename](#rename)
+    * [info](#info)
+  * [Filesystem information structure](#filesystem-information-structure)
+  * [Directory object (Dir)](#directory-object-dir)
+  * [File object](#file-object)
+    * [seek](#seek)
+    * [position](#position)
+    * [size](#size)
+    * [name](#name)
+    * [close](#close)
 
 
 ## Flash layout
diff --git a/doc/libraries.md b/doc/libraries.md
index 210ef2f81..cb6ad3272 100644
--- a/doc/libraries.md
+++ b/doc/libraries.md
@@ -3,19 +3,19 @@ title: Libraries
 ---
 
 ## Table of Contents
-    * [WiFi(ESP8266WiFi library)](#wifiesp8266wifi-library)
-    * [Ticker](#ticker)
-    * [EEPROM](#eeprom)
-    * [I2C (Wire library)](#i2c-wire-library)
-    * [SPI](#spi)
-    * [SoftwareSerial](#softwareserial)
-    * [ESP\-specific APIs](#esp-specific-apis)
-    * [OneWire](#onewire)
-    * [mDNS and DNS\-SD responder (ESP8266mDNS library)](#mdns-and-dns-sd-responder-esp8266mdns-library)
-    * [SSDP responder (ESP8266SSDP)](#ssdp-responder-esp8266ssdp)
-    * [DNS server (DNSServer library)](#dns-server-dnsserver-library)
-    * [Servo](#servo)
-    * [Other libraries (not included with the IDE)](#other-libraries-not-included-with-the-ide)
+  * [WiFi(ESP8266WiFi library)](#wifiesp8266wifi-library)
+  * [Ticker](#ticker)
+  * [EEPROM](#eeprom)
+  * [I2C (Wire library)](#i2c-wire-library)
+  * [SPI](#spi)
+  * [SoftwareSerial](#softwareserial)
+  * [ESP\-specific APIs](#esp-specific-apis)
+  * [OneWire](#onewire)
+  * [mDNS and DNS\-SD responder (ESP8266mDNS library)](#mdns-and-dns-sd-responder-esp8266mdns-library)
+  * [SSDP responder (ESP8266SSDP)](#ssdp-responder-esp8266ssdp)
+  * [DNS server (DNSServer library)](#dns-server-dnsserver-library)
+  * [Servo](#servo)
+  * [Other libraries (not included with the IDE)](#other-libraries-not-included-with-the-ide)
 
 ## WiFi(ESP8266WiFi library)
 
diff --git a/doc/reference.md b/doc/reference.md
index 1138950e7..24cfaa58b 100644
--- a/doc/reference.md
+++ b/doc/reference.md
@@ -3,13 +3,13 @@ title: Reference
 ---
 
 ## Table of Contents
-    * [Table of Contents](#table-of-contents)
-    * [Digital IO](#digital-io)
-    * [Analog input](#analog-input)
-    * [Analog output](#analog-output)
-    * [Timing and delays](#timing-and-delays)
-    * [Serial](#serial)
-    * [Progmem](#progmem)
+  * [Table of Contents](#table-of-contents)
+  * [Digital IO](#digital-io)
+  * [Analog input](#analog-input)
+  * [Analog output](#analog-output)
+  * [Timing and delays](#timing-and-delays)
+  * [Serial](#serial)
+  * [Progmem](#progmem)
 
 ## Digital IO