ericxu9 / GitToc

:hammer:Generate a Readme Toc for your Github repo. 为你的Github Readme自动生成一个目录

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HitCount

GitToc

Generate a Readme toc for your Github repository.

中文版

Glimpse

This simple script can parse your markdown file and generate a Toc like this:

This generated toc supports inner page jumping.

Usage

Assuming that your target file's name is targetFile.md. Just type this command in shell:

> python gitToc.py targetFile.md

You will get a new markdown file named targetFile_with_toc.md in current directory.

Platform

  • Windows

    This simple script has been packed into windows PE file(.exe) by pyinstaller. Now you can click gitToc.exe directly and do transformation job in your Windows PC.

Online Usage

The author @lzw5399 made an online conversion tool TocGenerator based on GitToc.

TocGenerator Github link: https://github.com/lzw5399/TocGenerator

Online conversion address: https://toc.codepie.fun/

Instructions:

About

:hammer:Generate a Readme Toc for your Github repo. 为你的Github Readme自动生成一个目录


Languages

Language:Python 100.0%