# markdown-online-parse **Repository Path**: lishihai/markdown-online-parse ## Basic Information - **Project Name**: markdown-online-parse - **Description**: 将markdown文件在浏览器中直接渲染成html文件 - **Primary Language**: PHP - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2018-02-08 - **Last Updated**: 2024-10-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Markdown-Online-Parse [![Source Code][badge-source]][source] [![Software License][badge-license]][license] #### 用途: 将`markdown`文件在浏览器中直接渲染成`html`文件 #### 使用方法: + 将源代码克隆至本地后,添加`nginx`配置,配置可参考 `nginx.example.conf`。`nginx`根目录指向`public`文件夹。 + 将`markdown`源文件拷贝至`src`文件夹下 + 执行`composer update -vvv` + 浏览器中输入正确的地址+`markdown`文件名称 + URL DEMO: [http://your-domain.com/demo.md](http://your-domain.com/demo.md) [http://your-domain.com/test/v1/demo.md](http://your-domain.com/test/v1/demo.md) #### 致谢: + [Parsedown](https://github.com/erusev/parsedown) From [@erusev](https://github.com/erusev) + [highlight.js](https://github.com/isagalaev/highlight.js) From [@isagalaev](https://github.com/isagalaev) + [highlightjs-line-numbers.js](https://github.com/wcoder/highlightjs-line-numbers.js) From [@wcoder](https://github.com/wcoder) [badge-source]: https://img.shields.io/badge/source-lishihai/markdown--online--parse-blue.svg?style=flat-square [badge-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square [source]: https://github.com/lishihai/markdown-online-parse [license]: https://github.com/lishihai/markdown-online-parse/blob/master/LICENSE