1.0.1 • Published 7 years ago

markdown-clear v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Table Of Contents

Instruction

markdown-clear is a NodeJS tool to automatic order the markdown headers to make it clear to read,especially on long document.

Installation

use npm:

npm install markdown-clear -g

or use yarn

yarn add markdown-clear -g

Usage

  • transform a single file
markdown-clear test.md test-out.md
  • update the content of the same file
markdown-clear test.md --force
  • transform a directory
markdown-clear test-dir test-dir-out
  • transform a directory and it's sub-directories
markdown-clear test-dir test-dir-out -r
  • update files in a directory
markdown-clear test-dir --force
  • update files in a directory and it's sub-directories
markdown-clear test-dir --force -r