From b794f3186d195c78da4d206c1b8313ac2fec41c9 Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Mon, 27 Feb 2023 21:13:20 -0800 Subject: [PATCH] markdown: Format TOCs correctly --- README.md | 36 ++++++++++++++++++------------------ docs/CONTRIBUTING.md | 16 ++++++++-------- docs/INSTALL.md | 30 +++++++++++++++--------------- 3 files changed, 41 insertions(+), 41 deletions(-) diff --git a/README.md b/README.md index ec98da682..f3c8934c8 100644 --- a/README.md +++ b/README.md @@ -24,24 +24,24 @@ https://user-images.githubusercontent.com/3120367/206125010-bd1fea8e-248a-43e7-8 # Table of Contents -- What does D2 look like? -- Quickstart -- Install -- D2 as a library -- Themes -- Fonts -- Export file types -- Language tooling -- Plugins -- Comparison -- Contributing -- License -- Related - - Official plugins - - Community plugins - - Misc -- FAQ -- Open-source projects documenting with D2 +- [What does D2 look like?](#what-does-d2-look-like) +- [Quickstart](#quickstart) +- [Install](#install) +- [D2 as a library](#d2-as-a-library) +- [Themes](#themes) +- [Fonts](#fonts) +- [Export file types](#export-file-types) +- [Language tooling](#language-tooling) +- [Plugins](#plugins) +- [Comparison](#comparison) +- [Contributing](#contributing) +- [License](#license) +- [Related](#related) + - [Official plugins](#official-plugins) + - [Community plugins](#community-plugins) + - [Misc](#misc) +- [FAQ](#faq) +- [Open-source projects documenting with D2](#open-source-projects-documenting-with-d2) ## What does D2 look like? diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index c074c4235..439c1958b 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -1,14 +1,14 @@ # Contributing -- Welcome -- CI -- Logistics -- Dev - - Content - - Tests - - Documentation - - Questions +- [Welcome](#welcome) +- [CI](#ci) +- [Logistics](#logistics) +- [Dev](#dev) + - [Content](#content) + - [Tests](#tests) + - [Documentation](#documentation) + - [Questions](#questions) ## Welcome diff --git a/docs/INSTALL.md b/docs/INSTALL.md index 8a4f7a090..50c00c6f5 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -3,21 +3,21 @@ You may install `d2` through any of the following methods. -- install.sh - - Security -- macOS (Homebrew) -- Linux - - Void Linux -- Standalone - - Manual - - PREFIX -- From source - - Source Release -- Windows - - Release archives - - WSL -- Docker -- Coming soon +- [install.sh](#installsh) + - [Security](#security) +- [macOS (Homebrew)](#macos-homebrew) +- [Linux](#linux) + - [Void Linux](#void-linux) +- [Standalone](#standalone) + - [Manual](#manual) + - [PREFIX](#prefix) +- [From source](#from-source) + - [Source Release](#source-release) +- [Windows](#windows) + - [Release archives](#release-archives) + - [WSL](#wsl) +- [Docker](#docker) +- [Coming soon](#coming-soon) ## install.sh