doc: add missing `<code>` blocks · nodejs/node@3924c43

2 files changed

lines changed

Original file line numberDiff line numberDiff line change

@@ -129,7 +129,7 @@ Legacy assertion mode may have surprising results, especially when using

129129

assert.deepEqual(/a/gi, new Date());

130130

```

131131
132-

## Class: assert.AssertionError

132+

## Class: `assert.AssertionError`

133133
134134

* Extends: {errors.Error}

135135
Original file line numberDiff line numberDiff line change

@@ -841,7 +841,7 @@ frames for testing of HTTP/2 endpoints

841841

const http2 = require('../common/http2');

842842

```

843843
844-

### Class: Frame

844+

### Class: `Frame`

845845
846846

The `http2.Frame` is a base class that creates a `Buffer` containing a

847847

serialized HTTP/2 frame header.

@@ -861,7 +861,7 @@ socket.write(frame.data);

861861
862862

The serialized `Buffer` may be retrieved using the `frame.data` property.

863863
864-

### Class: HeadersFrame

864+

### Class: `HeadersFrame`

865865
866866

The `http2.HeadersFrame` is a subclass of `http2.Frame` that serializes a

867867

`HEADERS` frame.

@@ -880,7 +880,7 @@ const frame = new http2.HeadersFrame(id, payload, padlen, final);

880880

socket.write(frame.data);

881881

```

882882
883-

### Class: SettingsFrame

883+

### Class: `SettingsFrame`

884884
885885

The `http2.SettingsFrame` is a subclass of `http2.Frame` that serializes an

886886

empty `SETTINGS` frame.

@@ -1138,7 +1138,7 @@ See the source code for definitions. Please avoid using it in new

11381138

code - the current usage of this port in tests is being migrated to

11391139

the original WPT harness, see [the WPT tests README][].

11401140
1141-

### Class: WPTRunner

1141+

### Class: `WPTRunner`

11421142
11431143

A driver class for running WPT with the WPT harness in a worker thread.

11441144