Skip to content

apaskulin/contensifier

Repository files navigation

contensifier

Build Status

auto table of contents for markdown

Add a table of contents

  1. Download contensifier
  2. Save your markdown file
  3. Open a terminal and contensify!
$ python [filepath/contensifier.py] [filepath/yourdocument.md]

Example:

$ python Repositories/contensifier/contensifier.py Desktop/README.md

Use the contensify command

Create a symbolic link in your PATH and contensify anywhere, anytime.

  1. Create the link
  • $ ln -s [filepath/contensifier.py] /usr/local/bin/contensify
  • ex: $ ln -s ~/Repositories/contensifier/contensifier.py /usr/local/bin/contensify
  1. Restart your terminal
  2. $ contensify [filepath/yourdocument.md]

Use a URL instead of a local file

  • $ contensify [url]
  • ex: $ contensify https://raw.githubusercontent.com/apaskulin/contensifier/master/TESTDOC.md

About

automatic table-of-contents for markdown

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published