1.0.0 • Published 3 years ago
markdown-folder-to-sidebar v1.0.0
Markdown Folder to Sidebar
A simple npm package that takes a folder containing markdown files and generates a sidebar based on the markdown folder structure.
Installation
npm install -g markdown-folder-to-sidebarUsage
mdf-2-sidebar -f path/to/markdown/folderThe package takes one argument, -f or --folder, which is the path to the folder containing the
markdown files.
Example
mdf-2-sidebar -f docsThis command will take all the markdown files in the docs folder and generate a sidebar
based on the folder structure. The sidebar will be written to ./_Sidebar.md.