From d269db0ee6963c195f887d8729fa6d86992a9b80 Mon Sep 17 00:00:00 2001 From: Rodolphe Houdas Date: Sat, 25 Jul 2020 02:18:38 +0200 Subject: [PATCH] Adding vscode settings for this project Also updating the table of content to use gitea slufigy mode. Generating the table of content is made with the extension "Markdown All in One". Unfortunately, it doesn't generate anchors fitting for gitea. This TOC is generated with a modified version of Markdown All in One to add a gitea slugification mode. See https://github.com/yzhang-gh/vscode-markdown/pull/763 for the hack --- .vscode/settings.json | 3 +++ README.md | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..0025ca4 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "markdown.extension.toc.slugifyMode": "gitea" +} \ No newline at end of file diff --git a/README.md b/README.md index 78f942d..883b2f0 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ My collection of dotfiles, to be used with `stow` -- [:truck: How to get](#-how-to-get) -- [:checkered_flag: How to use](#-how-to-use) +- [:truck: How to get](#truck-how-to-get) +- [:checkered_flag: How to use](#checkered-flag-how-to-use) ## :truck: How to get