markdown: Format TOCs correctly

This commit is contained in:
Anmol Sethi 2023-02-27 21:13:20 -08:00
parent 014d95a054
commit b794f3186d
No known key found for this signature in database
GPG key ID: 25BC68888A99A8BA
3 changed files with 41 additions and 41 deletions

View file

@ -24,24 +24,24 @@ https://user-images.githubusercontent.com/3120367/206125010-bd1fea8e-248a-43e7-8
# Table of Contents # Table of Contents
<!-- toc --> <!-- toc -->
- <a href="#what-does-d2-look-like" id="toc-what-does-d2-look-like">What does D2 look like?</a> - [What does D2 look like?](#what-does-d2-look-like)
- <a href="#quickstart" id="toc-quickstart">Quickstart</a> - [Quickstart](#quickstart)
- <a href="#install" id="toc-install">Install</a> - [Install](#install)
- <a href="#d2-as-a-library" id="toc-d2-as-a-library">D2 as a library</a> - [D2 as a library](#d2-as-a-library)
- <a href="#themes" id="toc-themes">Themes</a> - [Themes](#themes)
- <a href="#fonts" id="toc-fonts">Fonts</a> - [Fonts](#fonts)
- <a href="#export-file-types" id="toc-export-file-types">Export file types</a> - [Export file types](#export-file-types)
- <a href="#language-tooling" id="toc-language-tooling">Language tooling</a> - [Language tooling](#language-tooling)
- <a href="#plugins" id="toc-plugins">Plugins</a> - [Plugins](#plugins)
- <a href="#comparison" id="toc-comparison">Comparison</a> - [Comparison](#comparison)
- <a href="#contributing" id="toc-contributing">Contributing</a> - [Contributing](#contributing)
- <a href="#license" id="toc-license">License</a> - [License](#license)
- <a href="#related" id="toc-related">Related</a> - [Related](#related)
- <a href="#official-plugins" id="toc-official-plugins">Official plugins</a> - [Official plugins](#official-plugins)
- <a href="#community-plugins" id="toc-community-plugins">Community plugins</a> - [Community plugins](#community-plugins)
- <a href="#misc" id="toc-misc">Misc</a> - [Misc](#misc)
- <a href="#faq" id="toc-faq">FAQ</a> - [FAQ](#faq)
- <a href="#open-source-projects-documenting-with-d2" id="toc-open-source-projects-documenting-with-d2">Open-source projects documenting with D2</a> - [Open-source projects documenting with D2](#open-source-projects-documenting-with-d2)
## What does D2 look like? ## What does D2 look like?

View file

@ -1,14 +1,14 @@
# Contributing # Contributing
<!-- toc --> <!-- toc -->
- <a href="#welcome" id="toc-welcome">Welcome</a> - [Welcome](#welcome)
- <a href="#ci" id="toc-ci">CI</a> - [CI](#ci)
- <a href="#logistics" id="toc-logistics">Logistics</a> - [Logistics](#logistics)
- <a href="#dev" id="toc-dev">Dev</a> - [Dev](#dev)
- <a href="#content" id="toc-content">Content</a> - [Content](#content)
- <a href="#tests" id="toc-tests">Tests</a> - [Tests](#tests)
- <a href="#documentation" id="toc-documentation">Documentation</a> - [Documentation](#documentation)
- <a href="#questions" id="toc-questions">Questions</a> - [Questions](#questions)
## Welcome ## Welcome

View file

@ -3,21 +3,21 @@
You may install `d2` through any of the following methods. You may install `d2` through any of the following methods.
<!-- toc --> <!-- toc -->
- <a href="#installsh" id="toc-installsh">install.sh</a> - [install.sh](#installsh)
- <a href="#security" id="toc-security">Security</a> - [Security](#security)
- <a href="#macos-homebrew" id="toc-macos-homebrew">macOS (Homebrew)</a> - [macOS (Homebrew)](#macos-homebrew)
- <a href="#linux" id="toc-linux">Linux</a> - [Linux](#linux)
- <a href="#void-linux" id="toc-void-linux">Void Linux</a> - [Void Linux](#void-linux)
- <a href="#standalone" id="toc-standalone">Standalone</a> - [Standalone](#standalone)
- <a href="#manual" id="toc-manual">Manual</a> - [Manual](#manual)
- <a href="#prefix" id="toc-prefix">PREFIX</a> - [PREFIX](#prefix)
- <a href="#from-source" id="toc-from-source">From source</a> - [From source](#from-source)
- <a href="#source-release" id="toc-source-release">Source Release</a> - [Source Release](#source-release)
- <a href="#windows" id="toc-windows">Windows</a> - [Windows](#windows)
- <a href="#release-archives" id="toc-release-archives">Release archives</a> - [Release archives](#release-archives)
- <a href="#wsl" id="toc-wsl">WSL</a> - [WSL](#wsl)
- <a href="#docker" id="toc-docker">Docker</a> - [Docker](#docker)
- <a href="#coming-soon" id="toc-coming-soon">Coming soon</a> - [Coming soon](#coming-soon)
## install.sh ## install.sh