Skip to content

Commit 8f2249c

Browse files
author
theseyan
committed
fix markdown
1 parent bfd7afd commit 8f2249c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ pub const Node = {
180180
### `TreeCursor`
181181

182182
A `TreeCursor` can be used to traverse through a tree's nodes in order.
183-
```
183+
```zig
184184
var cursor = try tree.cursor();
185185
186186
// ... or a cursor starting from any nested Map node
@@ -226,7 +226,7 @@ Simple primitive reader API that reads tags from the encoded buffer one-by-one.
226226
Use the `Tree` API if elements are to be accessed multiple times or random-access is required.
227227
Otherwise, it is recommended to use the traversing `Cursor` API instead of using this directly.
228228

229-
```
229+
```zig
230230
pub const Reader = struct {
231231
pub const TagType = enum {
232232
Null,
@@ -307,7 +307,7 @@ Unit tests are present in the `test/` directory.
307307
Currently, the tests are limited and do not cover everything.
308308
PRs to improve the quality of these tests are welcome.
309309

310-
```
310+
```bash
311311
zig build test
312312
```
313313

@@ -316,7 +316,7 @@ zig build test
316316
Benchmarks are present in `benchmark/` and use the [zBench](https://github.com/hendriknielaender/zBench) library.
317317

318318
Run the benchmarks:
319-
```
319+
```bash
320320
zig build bench
321321
```
322322

0 commit comments

Comments
 (0)