apache-mod-markdown - Linux

Table of Contents

專案網址:https://github.com/hamano/apache-mod-markdown

這是由 HAMANO Tsukasa 所作,Apache Web 伺服器的 Markdown 文件過濾器模組,讓你可以將網站上的 Markdown 文件自動轉成 HTML 頁面送給客戶端。
範例:https://sites.ind.ntou.edu.tw/tutorial.markdown

這個軟體使用 Discount 這個 Markdown 轉換程式實作,可以看看它支援哪些 Markdown 擴充功能
http://www.pell.portland.or.us/~orc/Code/discount/

目前支援指定要使用的 (X)HTML Document Type Definition(DTD) (使用 XHTML DTD 會自動用 application/xhtml+xml Content-Type),Discount 的設定 flag 以及要搭配的 CSS 樣式表

有興趣搞 Markdown everywhere 的可以玩玩看,不過要自己 build 目前各 distro 應該都沒有打包

自己建構以及打包的方式可以參考:https://goo.gl/bWdcVM
--

--

All Comments