• Stars
    star
    26
  • Rank 900,185 (Top 19 %)
  • Language
    Go
  • Created about 6 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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

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

Install

go get github.com/weaming/md2png

Usage

Usage of ./md2png:
  -bin string
        wkhtmltoimage bin path (default "/usr/local/bin/wkhtmltoimage")
  -css string
        optional css file path, support any style you like❤️, include fonts!
  -debug
        show generated html
  -m string
        markdown file path
  -o string
        output file path (default same as markdown file name)
  -w int
        output image width (default 960)

Example css

Screenshot

wkhtmltoimage download url

More Repositories

1

thunder-subtitle

下载迅雷字幕
Python
33
star
2

download-twitter-resources

Download tweet images and videos
Python
10
star
3

proxyany

HTTP(S) reverse proxy with domain replaced
Go
8
star
4

sogou

搜狗翻译,与 Alfred 交互
Python
7
star
5

simple-colors

Colorful output in terminal
Python
6
star
6

photobox

Photos storage service.
Go
6
star
7

co.markdown

Share notes in markdown format quickly without any account.
Python
5
star
8

taobao_buyer_show

淘宝买家秀
JavaScript
4
star
9

hub

Message hub. Export websocket and HTTP API.
Go
4
star
10

pcre2-binding-demo

Rust
3
star
11

mget

Download file leverage Go's goroutine
Go
3
star
12

itree

Find the biggest file / directory on your disk
Go
3
star
13

starred

A curated list of my GitHub stars!
Shell
3
star
14

json-api

Make you focus on writting business logic code, just return dict data for API, or other Response directly.
Python
3
star
15

s

静态文件服务器
Go
3
star
16

objectify-json

Make accessing JSON data more convenient.
Python
2
star
17

rs-cjy

Convert between CSV, JSON, YAML.
Rust
2
star
18

pretty-format-json

Python
2
star
19

json-schema-generator

Generate the initial json schema from your given example json.
Python
2
star
20

mobikeapi

Hack Mobike API
JavaScript
2
star
21

DownloadAll

Download URL from one file, one URL each line
Go
2
star
22

alfred-rfc

Search RFCs using alfred
HTML
2
star
23

meituanAppSpider

Python
2
star
24

patch-json-float

Patch builtin's float to kill gap between float and Decimal.
Python
2
star
25

static-file-server

Simple static file server written in Go.
Go
2
star
26

telehello

Telegram bot receiving message via HTTP API. Built in RSS crawler manager.
Go
1
star
27

jsonkv

JSON file as KV store
Python
1
star
28

fuck-python-str

Python
1
star
29

cid-cli

CLI wrapper for py-cid to decode a CID to human readable format.
Python
1
star
30

homebrew-formula

Ruby
1
star
31

bitcom-account.py

Python
1
star
32

simple-crawler

my simple crawler
Python
1
star
33

dataset

Python
1
star
34

telebox

Receive message in telegram bot via HTTP
Rust
1
star
35

midi-collection

Parsed from https://github.com/qiao/euphony
1
star
36

weaming

1
star
37

data-process

Make processing 2d data more convenient
Python
1
star
38

build-ngrok

Example to build your ngrok service fastly.
Shell
1
star
39

unsplash-http-api

Python
1
star
40

pypideptree

Show the top packages on the dependencies tree of multiple packages in one requirements file. Rely on pypi.org API.
Python
1
star
41

orderbook-go

Go
1
star
42

tablib

Parse 2d tabular data bettwen YAML, JSON, CSV.
Crystal
1
star
43

dns-diag-report

1
star
44

filetype

detect file content type
Go
1
star
45

ipython-primer

Python2及IPython入门 —— Copy from @lijin-thu
1
star
46

sogou_translate_elixir

Elixir
1
star
47

poseidon-rules

Validate complex json data against rules you defined
Python
1
star
48

cargo-vcs

Print the content of `.cargo_vcs_info.json` in the downloaded `.crate` file.
Python
1
star
49

proxy-crawler

Go
1
star
50

prophoto-to-display-p3

Convert from ProPhoto to Display P3.
Go
1
star
51

CryptoViewer

Dart
1
star
52

HProxy

Proxy on TCP level
Go
1
star
53

eth-demo

Go
1
star
54

filetree

🌲 Easy file tree
Python
1
star
55

d2

Python
1
star
56

sets

Set operate over files which contains set of lines
Python
1
star
57

math-fold

Bring fold in functional programming to CLI.
Python
1
star
58

example-upload-minio-using-aws-sdk-go

Go
1
star
59

nasa-mars-rovers

Go
1
star
60

rtree

reimplement weaming/iTree in Rust
Rust
1
star
61

now.calendars

Python
1
star
62

life-as-commit

See https://github.com/ByronHsu/life-commit
CSS
1
star
63

gitbook-wiki

📖 Wiki powered by Gitbook :)
Python
1
star
64

golib

My Go develop library
Go
1
star