An open API service indexing awesome lists of open source software.

https://github.com/lzw5399/toc-generator

:memo:Generate github available directory anchors online for markdown
https://github.com/lzw5399/toc-generator

markdown toc

Last synced: 3 months ago
JSON representation

:memo:Generate github available directory anchors online for markdown

Awesome Lists containing this project

README

          

[![Build Status](https://dev.azure.com/Zhiwen-Lin/Codepie/_apis/build/status/toc-generator?branchName=master)](https://dev.azure.com/Zhiwen-Lin/Codepie/_build/latest?definitionId=28&branchName=master)
[![HitCount](http://hits.dwyl.com/lzw5399/tocgenerator.svg)](http://hits.dwyl.com/lzw5399/tocgenerator)


# Foreword

Due to github does not support adding `[TOC]` at the beginning of markdown to add directories, it's a bit inconvenient, so there is this gadget **TocGenerator**

## Reference

The core logic references [GitToc](https://github.com/Holy-Shine/GitToc), welcome to star him

## Usage

### 1. Use online

> [https://toc.codepie.fun](https://toc.codepie.fun)

![](https://tva1.sinaimg.cn/large/007S8ZIlgy1gfxuf9bsw1j31400mcad6.jpg)

### 2. Docker

```shell
docker run --rm -p 8087:80 lzw5399/tocgenerator
```

### 3. Build from source