Skip to content

Latest commit

 

History

History
41 lines (37 loc) · 1.23 KB

README.md

File metadata and controls

41 lines (37 loc) · 1.23 KB

markdown-toc-generator

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

Sample usage:

python .\md_toc_generator.py
Enter file path: sample_input.md
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