omi/md2site
dntzhang 11dd450ca3 omi v1.1.4 - support domDiffDisabled or ddd in component 2017-03-25 13:55:04 +08:00
..
bin update md2site cli 2017-03-09 15:57:17 +08:00
lib update md2site 2017-03-03 16:27:54 +08:00
template/app omi v1.1.4 - support domDiffDisabled or ddd in component 2017-03-25 13:55:04 +08:00
.gitignore md2site base on omi 2017-03-02 17:52:29 +08:00
.npmignore md2site base on omi 2017-03-02 17:52:29 +08:00
README.md update md2site 2017-03-06 13:13:13 +08:00
index.html update md2site 2017-03-06 11:16:51 +08:00
package.json omi store system 2017-03-18 19:53:06 +08:00

README.md

Md2site

Md2site是基于Omi的一款Markdown转网站工具使用简单生成的文件轻巧功能强大。

安装使用 md2site

$ npm install md2site -g
$ md2site init your_project_name
$ cd your_project_name
$ npm run dev
$ npm run dist

Hexo VS Md2site

Hexo Md2site
Markdown支持 ★★★★★ ★★★★★
网站文件尺寸 ★★★☆☆ ★★★★★
上手难度 ★★★★★ ★★★★★
二次开发 ★★★★☆ ★★★★★
主题与插件 ★★★★★ ★★★★☆
代码指定行高亮 ★★★★☆ ★★★★★
多语言支持 ★★★★☆ ★★★★★
响应式 ★★★★★ ★★★★★
注:星星更多的,代表对比获胜。

Md2site

Md2site is a fast, simple & powerful framework that can be used for transformation of markdown to website based on Omi.

Installation

Prerequisites: Node.js (>=6.x), npm version 3+

$ npm install md2site -g

Usage

$ md2site init                     // in current directory

or

$ md2site init your_project_name   // in new directroy named project name

md2site will run 'npm install' to install dependencies.

Write your markdown and preview

Write your markdowns and config the website in docs folder, you can run the command to preview the docs:

$ npm run dev

Generate the website

$ npm run dist

Hexo VS Md2site

Hexo Md2site
Markdown support ★★★★★ ★★★★★
File size of generated website ★★★☆☆ ★★★★★
Difficulty of getting started ★★★★★ ★★★★★
Secondary development ★★★★☆ ★★★★★
Themes and plugins ★★★★★ ★★★★☆
Code specifies row highlight ★★★★☆ ★★★★★
Multi language support ★★★★☆ ★★★★★
Responsive ★★★★★ ★★★★★
Note: more stars mean win.