September 18, 2017 19:20:22 Monday
Effect:
Code Cloud: Https://gitee.com/myDcool/PHP-Markdown.git
Description
Simple MARKDOWNAPI Management tools:
Left directory tree: dtree.js
Markdown to Html:segmentfault community-developed PHP tools
Traverse the MD source folder: Write it yourself using the post-root sequence traversal algorithm to read the folder PHP tool
Instructions for use:
1. Need to install PHP preferably 7 environment
2. Put the MD file in the SRC directory, name the files and folders according to your project (these names are the names of the final API tree directories)
3. Go to the root directory and run the command: PHP compile.php will be able to see the compiled HTML file in the _book directory.
Note that the Dtree directory in the _book is pre-written CSS and JS, dtree source files have some simple changes, if accidentally deleted, you can extract the root directory dtree.zip, copied to the _book folder
If you want to recompile all the files, you can delete the root directory of the Last_compile_time.log file, otherwise, the program will only compile the most recent modified files
PHP Markdown Interface Document Generation tool