Skip to content

Commit b598142

Browse files
committed
Update README
1 parent 457cb46 commit b598142

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,25 @@ This generator doesn't attempt to support the full JSON Schema specification. In
99

1010
## Install
1111

12-
```
13-
go get -u github.com/grafana/json-schema-docs
12+
```bash
13+
go install github.com/grafana/json-schema-docs
1414
```
1515

1616
## Run
1717

18-
```
18+
```bash
1919
json-schema-docs -schema ./user.schema.json > user.md
2020
```
2121

2222
To use a template when generating the Markdown:
2323

24-
```
24+
```bash
2525
json-schema-docs -schema ./user.schema.json -template user.md.tpl > user.md
2626
```
2727

2828
`template` is the path to a file containing a Go template, such as this one:
2929

30-
```
30+
```bash
3131
+++
3232
title = "{{ .Title }}"
3333
description = "{{ .Description }}"

0 commit comments

Comments
 (0)