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。實驗項目。沒有保修。