Skip to content

Commit 4cc578e

Browse files
committed
Add ToC to README.md
1 parent 5ed5636 commit 4cc578e

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

.vscode/extensions.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"davidanson.vscode-markdownlint",
44
"editorconfig.editorconfig",
55
"foxundermoon.shell-format",
6-
"timonwong.shellcheck"
6+
"timonwong.shellcheck",
7+
"yzhang.markdown-all-in-one"
78
]
89
}

.vscode/settings.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
".shellcheckrc": "properties"
99
},
1010

11+
// Markdown table of contents generation
12+
"markdown.extension.toc.levels": "2..2",
13+
"markdown.extension.toc.slugifyMode": "github",
14+
1115
// Use EditorConfig for shfmt settings
1216
"shellformat.useEditorConfig": true,
1317

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ bash-script-template
55

66
A *Bash* scripting template incorporating best practices & several useful functions.
77

8+
- [Motivation](#motivation)
9+
- [Files](#files)
10+
- [Usage](#usage)
11+
- [Controversies](#controversies)
12+
- [License](#license)
13+
814
Motivation
915
----------
1016

0 commit comments

Comments
 (0)