mdrd
1.0.0
简单的CGI Markdown渲染器。
要求:
cmark
fcgi
$ make -j all开始FCGI父程流程:
$ spawn-fcgi -p 8080 -n ./mdrd使用文档root,fastcgi参数和fastcgi端口设置Web服务器。 nginx示例:
server {
root /path/to/markdown/root;
autoindex on;
index index.html index.md;
location ~ .md$ {
include fastcgi_params;
fastcgi_pass 127.0.0.1:8080;
}
}
你准备出发了。
WTFPL。实验项目。没有保修。