Skip to content

doc: add missing <code> blocks #58995

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/api/assert.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Legacy assertion mode may have surprising results, especially when using
assert.deepEqual(/a/gi, new Date());
```

## Class: assert.AssertionError
## Class: `assert.AssertionError`

* Extends: {errors.Error}

Expand Down
8 changes: 4 additions & 4 deletions test/common/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,7 @@ frames for testing of HTTP/2 endpoints
const http2 = require('../common/http2');
```

### Class: Frame
### Class: `Frame`

The `http2.Frame` is a base class that creates a `Buffer` containing a
serialized HTTP/2 frame header.
Expand All @@ -861,7 +861,7 @@ socket.write(frame.data);

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

### Class: HeadersFrame
### Class: `HeadersFrame`

The `http2.HeadersFrame` is a subclass of `http2.Frame` that serializes a
`HEADERS` frame.
Expand All @@ -880,7 +880,7 @@ const frame = new http2.HeadersFrame(id, payload, padlen, final);
socket.write(frame.data);
```

### Class: SettingsFrame
### Class: `SettingsFrame`

The `http2.SettingsFrame` is a subclass of `http2.Frame` that serializes an
empty `SETTINGS` frame.
Expand Down Expand Up @@ -1138,7 +1138,7 @@ See the source code for definitions. Please avoid using it in new
code - the current usage of this port in tests is being migrated to
the original WPT harness, see [the WPT tests README][].

### Class: WPTRunner
### Class: `WPTRunner`

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

Expand Down
Loading