Skip to content

Commit

Permalink
add moar syntax highlighting to README
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhop committed Apr 29, 2019
1 parent 211df95 commit 9833012
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ What the keys do:
| `template:text` | The text to be rendered through Go's template system and loaded onto your clipboard | Accepts a YAML multi-line string (be careful with indentation!) |
Example template:
```
```shell
~ $ clip show readme-template-example
tags:
- personal
Expand All @@ -100,7 +100,7 @@ template:
```
After copying the template, we'll end up with the following content on our clipboard:
```
```shell
~ $ clip copy readme-template-example
~ $ clip paste
Hello, Clip User!
Expand All @@ -118,7 +118,7 @@ tjhop
## Building
Builds are using `go1.12.1` with [gox](https://github.com/mitchellh/gox):

```
```shell
~/go/src/github.com/tjhop/clip -> COMMIT=$(git rev-parse --short HEAD | tr -d "[ \r\n\']");
TAG=$(git describe --always --tags --abbrev=0 | tr -d "[v\r\n]");
echo "commit: $COMMIT"; echo "tag: $TAG";
Expand All @@ -130,7 +130,7 @@ gox -ldflags="-X github.com/tjhop/clip/cmd.builddate=$(date +%Y-%m-%d)
```

Release archive creation:
```
```shell
~/go/src/github.com/tjhop/clip -> tar vzcf "clip-$(git describe --always --tags --abbrev=0 | tr -d '[v\r\n]').darwin-amd64.tar.gz" -C $GOBIN/darwin/amd64/ -s /\./clip/g .
~/go/src/github.com/tjhop/clip -> tar vzcf "clip-$(git describe --always --tags --abbrev=0 | tr -d '[v\r\n]').linux-amd64.tar.gz" -C $GOBIN/linux/amd64/ -s /\./clip/g .
```
Expand Down

0 comments on commit 9833012

Please sign in to comment.