go install github.com/Bestfeel/markdown@latest
markdown文件在线浏览工具 默认提供3种markdown样式。
- github
- mou
- marxico
默认是github主题样式
mou和marxico在原来的基础上作了修改同时使用highlightjs增加了代码高亮
效果图如下:
- github主题样式
- mou主题样式
➜ markdown -h
This is a powerful online tool about markdown that allows you to run a service online to view markdown files, and can also serve as a static server
Usage:
markdown [flags]
Flags:
-a, --addr string server address (default ":7070")
-c, --css string markdown for css style.example [github|mou|marxico] (default "github")
-h, --help help for markdown
-p, --path string sever path (default ".")