Skip to content

Commit 4827782

Browse files
Tune readme
1 parent 0aa7813 commit 4827782

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ Thanks to all individual and corporate sponsors, without whom this work could no
4545
</a> </p>
4646

4747

48-
# JSON Schema generation for Facet
4948
This module provides functionality to generate JSON Schema from Facet types.
5049

5150
The main function is `to_string`, which takes a Facet type and returns its JSON Schema representation as a string.
5251

53-
# Example
52+
## Example
53+
5454
```rust
5555
use facet_jsonschema::to_string;
5656
use facet::Facet;
@@ -66,6 +66,7 @@ struct TestStruct {
6666
let schema = to_string::<TestStruct>();
6767
println!("JSON Schema: {schema}");
6868
```
69+
6970
## License
7071

7172
Licensed under either of:

README.md.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11

2-
# JSON Schema generation for Facet
32
This module provides functionality to generate JSON Schema from Facet types.
43

54
The main function is `to_string`, which takes a Facet type and returns its JSON Schema representation as a string.
65

7-
# Example
6+
## Example
7+
88
```rust
99
use facet_jsonschema::to_string;
1010
use facet::Facet;
@@ -19,4 +19,4 @@ struct TestStruct {
1919

2020
let schema = to_string::<TestStruct>();
2121
println!("JSON Schema: {schema}");
22-
```
22+
```

0 commit comments

Comments
 (0)