项目作者: weaming

项目描述 :
Render markdown file to PNG image. Support custom CSS URL/file.
高级语言: Go
项目地址: git://github.com/weaming/md2png.git
创建时间: 2018-04-21T17:39:00Z
项目社区:https://github.com/weaming/md2png

开源协议:

下载


logo generated by https://egoist.moe/slogan/

Render markdown file to PNG image. Support custom CSS URL/file.

Install

  1. go get github.com/weaming/md2png

Usage

  1. Usage of ./md2png:
  2. -bin string
  3. wkhtmltoimage bin path (default "/usr/local/bin/wkhtmltoimage")
  4. -css string
  5. optional css file path, support any style you like❤️, include fonts!
  6. -debug
  7. show generated html
  8. -m string
  9. markdown file path
  10. -o string
  11. output file path (default same as markdown file name)
  12. -w int
  13. output image width (default 960)

Example css

Screenshot

wkhtmltoimage download url