spire-plugin-doctoc

5.0.6 • Public • Published

spire-plugin-doctoc

doctoc plugin for Spire to generate ToC for specific markdown files.

Hooks

  • setup Prepares doctoc arguments.
  • precommit Adds markdown linter.

Options

  • Plugin ['spire-plugin-doctoc', options]
    • args <Array<string>> List of arguments to pass to doctoc. Defaults to ['--maxlevel 3', '--notitle'].
    • glob <string> Case-insensitive glob of files to generate ToC for. Defaults {readme,contributing}.md.

Readme

Keywords

none

Package Sidebar

Install

npm i spire-plugin-doctoc

Weekly Downloads

4

Version

5.0.6

License

MIT

Unpacked Size

7.96 kB

Total Files

6

Last publish

Collaborators

  • sbekrin
  • researchgate-bot
  • stefanhoth
  • mdio