The preparatory work
Installation node. Js
Install Node. You can download it from the official website
Install the MDdir module
After NPM install mddir –save is executed, the node module is installed in the root directory named node_modules
Generated directory
- CD to the destination directory
TestDemo
- perform
node ~/node_modules/mddir/src/mddir.js
- One will be generated in the destination directory
directoryList.md
file - Open the file copy and paste
The effect
In the output, the directory is ignored. You need to manually modify the directory
| | - Desktop (need to manually change to TestDemo) - media | | -- picture1. File | | -- picture2. File | - SRC | -- code1. File | -- code2. The fileCopy the code