markdown-toc
Table-of-Contents (toc) generator, written in Rust. Inspired by sebdah/markdown-toc.
Table of Contents
Installation
Run in Docker
Install with cargo
Build yourself
Usage
)
)
)
)
Generating basic ToC
Output:
## Table of Contents
1. [markdown-toc](#markdown-toc)
1. [Table of Contents](#table-of-contents)
1. [Installation](#installation)
1. [Run in Docker](#run-in-docker)
1. [Install with cargo](#install-with-cargo)
1. [Build yourself](#build-yourself)
1. [Usage](#usage)
1. [Generating basic ToC](#generating-basic-toc)
1. [Customizing bullets](#customizing-bullets)
1. [Limiting the depth of headers](#limiting-the-depth-of-headers)
1. [Excluding links](#excluding-links)
1. [Customizing header of ToC](#customizing-header-of-toc)
1. [Excluding header](#excluding-header)
Customizing bullets
Output:
## Table of Contents
- [markdown-toc](#markdown-toc)
- [Table of Contents](#table-of-contents)
- [Installation](#installation)
- [Run in Docker](#run-in-docker)
- [Install with cargo](#install-with-cargo)
- [Build yourself](#build-yourself)
- [Usage](#usage)
- [Generating basic ToC](#generating-basic-toc)
- [Customizing bullets](#customizing-bullets)
- [Limiting the depth of headers](#limiting-the-depth-of-headers)
- [Excluding links](#excluding-links)
- [Customizing header of ToC](#customizing-header-of-toc)
- [Excluding header](#excluding-header)
Limiting the depth of headers
Output:
## Table of Contents
1. [Table of Contents](#table-of-contents)
1. [Installation](#installation)
1. [Run in Docker](#run-in-docker)
1. [Install with cargo](#install-with-cargo)
1. [Build yourself](#build-yourself)
1. [Usage](#usage)
1. [Generating basic ToC](#generating-basic-toc)
1. [Customizing bullets](#customizing-bullets)
1. [Limiting the depth of headers](#limiting-the-depth-of-headers)
1. [Excluding links](#excluding-links)
1. [Customizing header of ToC](#customizing-header-of-toc)
Excluding links
Output:
## Table of Contents
1. markdown-toc
1. Table of Contents
1. Installation
1. Run in Docker
1. Install with cargo
1. Build yourself
1. Usage
1. Generating basic ToC
1. Customizing bullets
1. Limiting the depth of headers
1. Excluding links
1. Customizing header of ToC
1. Excluding header
Customizing header of ToC
Output:
# ToC
1. [markdown-toc](#markdown-toc)
1. [Table of Contents](#table-of-contents)
1. [Installation](#installation)
1. [Run in Docker](#run-in-docker)
1. [Install with cargo](#install-with-cargo)
1. [Build yourself](#build-yourself)
1. [Usage](#usage)
1. [Generating basic ToC](#generating-basic-toc)
1. [Customizing bullets](#customizing-bullets)
1. [Limiting the depth of headers](#limiting-the-depth-of-headers)
1. [Excluding links](#excluding-links)
1. [Customizing header of ToC](#customizing-header-of-toc)
1. [Excluding header](#excluding-header)
Excluding header
Output:
1. [markdown-toc](#markdown-toc)
1. [Table of Contents](#table-of-contents)
1. [Installation](#installation)
1. [Run in Docker](#run-in-docker)
1. [Install with cargo](#install-with-cargo)
1. [Build yourself](#build-yourself)
1. [Usage](#usage)
1. [Generating basic ToC](#generating-basic-toc)
1. [Customizing bullets](#customizing-bullets)
1. [Limiting the depth of headers](#limiting-the-depth-of-headers)
1. [Excluding links](#excluding-links)
1. [Customizing header of ToC](#customizing-header-of-toc)
1. [Excluding header](#excluding-header)