Skip to content
This repository was archived by the owner on Mar 7, 2023. It is now read-only.

Commit 229769e

Browse files
committed
update README
1 parent d42a9d0 commit 229769e

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,20 @@ This was inspired by [carbon](https://carbon.now.sh/) and [silicon](https://gith
77
## Usage
88
```sh
99
$ code2img
10-
code2img - convert code to image
10+
code2img - generate image of source code
1111

12-
Version: 1.0.0
12+
Version: 1.1.0
1313

1414
Usage:
1515
$ code2img -t monokai main.go main.png
1616
$ echo 'fmt.Println("Hello World")' | code2img -ext go -t native -o sample.png
17-
```
17+
$ code2img -c main.go
1818

19-
`-ext` is file extension.
20-
`-t` is color theme. can use [those](https://xyproto.github.io/splash/docs/all.html) themes
21-
`-o` is output image file name.
19+
-t color theme(default: solarized-dark)
20+
-o output file name(default: out.png)
21+
-c copy to clipboard
22+
-ext file extension
23+
```
2224

2325
## Installtion
2426

0 commit comments

Comments
 (0)