Skip to content

liwenxiang/md_to_html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

marddown文档生成html工具

依赖

  1. marked https://github.com/chjj/marked
    由于npm服务器不能访问,使用阿里npm
    alias cnpm='npm --registry=https://registry.npm.taobao.org  --cache=/Users/liwenxiang/.npm/.cache/cnpm  --disturl=https://npm.taobao.org/dist  --userconfig=/Users/liwenxiang/.cnpmrc'
    cnpm install marked --save
  1. GitHub2.css https://github.com/gcollazo/mou-theme-github2 已经默认下载到了theme/css目录中

使用

md2html.sh README.md > t.html

marked 配置更改地方

参考 https://help.github.com/articles/writing-on-github

显示样式

主要样式在theme中的head.html, end.html css/Github2.css文件中

About

markdown文档到html工具

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published