项目作者: oppenheimj

项目描述 :
Generates table of contents for markdown file
高级语言: Python
项目地址: git://github.com/oppenheimj/markdown-toc-generator.git
创建时间: 2018-11-15T02:39:55Z
项目社区:https://github.com/oppenheimj/markdown-toc-generator

开源协议:

下载


markdown-toc-generator

This script is used to generate a table of contents for a markdown file.

Sample usage:

  1. python .\md_toc_generator.py
  2. Enter file path: sample_input.md
  3. Success! Table of contents written to toc_output.md.

The file path can be absolute or relative. The script isn’t ultra robust but should work in most cases.

Sample output

Were the the input file to contain the sections below, for example, this is what the generated table of contents would look like. Note that each entry in the table links to the given section.

  1. Structure
    1. The perceptron
    2. The network
    3. Implementation
      1. Weights
      2. Neural activity and output
      3. Deltas
  2. Operation
    1. Overview
    2. Forward propagation
    3. Back propagation
      1. Calculating deltas
      2. Updating weights

Structure

The perceptron

The network

Implementation

Weights

Neural activity and output

Deltas

Operation

Overview

Forward propagation

Back propagation

Calculating deltas

Updating weights