From d0e89b619ad47da6d31e4304d501a7432f798b15 Mon Sep 17 00:00:00 2001 From: Brandon Carroll Date: Sun, 7 Apr 2019 23:02:32 -0400 Subject: [PATCH] docs: add table of contents [ci skip] --- README.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1a2505f..f52cc32 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ -# Table of Contents +## Table of Contents - [The problem](#the-problem) - [This solution](#this-solution) diff --git a/package.json b/package.json index 95fed07..d3a13b1 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "commit": "git-cz", "commit:add": "git add .", "commit:all": "npm run commit:add && npm run commit", - "readme:toc": "doctoc README.md --maxlevel 3 --title '# Table of Contents'", + "readme:toc": "doctoc README.md --maxlevel 3 --title '## Table of Contents'", "test": "jest", "pretty-quick": "pretty-quick --staged --pattern '**/*.(js|jsx|ts|tsx)'", "prepublishOnly": "rm -rf dist; babel src --out-dir dist --ignore 'src/__tests__/*'",