Simple-Markdown-Site 用Markdown文件制作简单网站

Github: https://github.com/chairuosen/simple-markdown-site

可以用来生成文档wiki,简历,或者用户协议等纯文字排版的页面

Simple Markdown Site

Build a site with some markdown file.

Installation

git clone https://github.com/chairuosen/simple-markdown-site  
cd simple-markdown-site  
npm install  

How to use?

Here is your markdown file

markdown  
├── index.md
└── sub
    └── sub-dir-file.md

then run npm run build, You will get compiled html file in dist dir, same tree as it is;

dist  
├── _styles_ // default css  edit it in `src`
├── index.html
└── sub
    └── sub-dir-file.html

Just host dist dir with Nginx and you get a website;

Development

run command npm start

License

MIT