Skip to content

Commit b709865

Browse files
committed
Improvements to markdown rendering in CHANGELOG
1 parent da7e04a commit b709865

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

CHANGELOG.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -156,14 +156,11 @@ More migrations may be added in future releases.
156156

157157
This release includes official support for JSON encoding and decoding.
158158

159-
Both encoder and decoder fully conform to [RFC 8259](https://tools.ietf.org/html/rfc8259) and
160-
[ECMA 404](https://ecma-international.org/publications-and-standards/standards/ecma-404/)
161-
standards.
159+
Both encoder and decoder fully conform to [RFC 8259](https://tools.ietf.org/html/rfc8259) and [ECMA 404](https://ecma-international.org/publications-and-standards/standards/ecma-404/) standards.
162160

163161
### Encoding
164162

165-
Encoding can be done via `JSON.encode!/1` and `JSON.encode_to_iodata!/1` functions.
166-
The default encoding rules are applied as follows:
163+
Encoding can be done via `JSON.encode!/1` and `JSON.encode_to_iodata!/1` functions. The default encoding rules are applied as follows:
167164

168165
| **Elixir** | **JSON** |
169166
|------------------------|----------|
@@ -177,9 +174,7 @@ The default encoding rules are applied as follows:
177174
| `%{atom() => _}` | Object |
178175
| `%{integer() => _}` | Object |
179176

180-
You may also implement the `JSON.Encoder` protocol for custom data structures.
181-
If you have a struct, you can derive the implementation of the `JSON.Encoder`
182-
by specifying which fields should be encoded to JSON:
177+
You may also implement the `JSON.Encoder` protocol for custom data structures. If you have a struct, you can derive the implementation of the `JSON.Encoder` by specifying which fields should be encoded to JSON:
183178

184179
```elixir
185180
@derive {JSON.Encoder, only: [...]}
@@ -188,8 +183,7 @@ by specifying which fields should be encoded to JSON:
188183

189184
### Decoding
190185

191-
Decoding can be done via `JSON.decode/2` and `JSON.decode!/2` functions.
192-
The default decoding rules are applied as follows:
186+
Decoding can be done via `JSON.decode/2` and `JSON.decode!/2` functions. The default decoding rules are applied as follows:
193187

194188
| **JSON** | **Elixir** |
195189
|----------|------------------------|

0 commit comments

Comments
 (0)