Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f50fec6

Browse filesBrowse files
Trottaddaleax
authored andcommitted
doc: use consistent typography for node-addon-api
Most of the instances of _node-addon-api_ are surrounded with backticks, but two aren't. Add backticks for consistency. PR-URL: #34910 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent 2a7c65a commit f50fec6
Copy full SHA for f50fec6

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Open diff view settings
Collapse file

‎doc/api/n-api.md‎

Copy file name to clipboardExpand all lines: doc/api/n-api.md
+3-3Lines changed: 3 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ properties:
3636
The N-API is a C API that ensures ABI stability across Node.js versions
3737
and different compiler levels. A C++ API can be easier to use.
3838
To support using C++, the project maintains a
39-
C++ wrapper module called [node-addon-api][].
39+
C++ wrapper module called [`node-addon-api`][].
4040
This wrapper provides an inlineable C++ API. Binaries built
4141
with `node-addon-api` will depend on the symbols for the N-API C-based
4242
functions exported by Node.js. `node-addon-api` is a more
@@ -80,7 +80,7 @@ for `node-addon-api`.
8080

8181
The [N-API Resource](https://nodejs.github.io/node-addon-examples/) offers an
8282
excellent orientation and tips for developers just getting started with N-API
83-
and node-addon-api.
83+
and `node-addon-api`.
8484

8585
## Implications of ABI stability
8686

@@ -5495,6 +5495,7 @@ This API may only be called from the main thread.
54955495
[`napi_throw`]: #n_api_napi_throw
54965496
[`napi_unwrap`]: #n_api_napi_unwrap
54975497
[`napi_wrap`]: #n_api_napi_wrap
5498+
[`node-addon-api`]: https://github.com/nodejs/node-addon-api
54985499
[`node_api.h`]: https://github.com/nodejs/node/blob/master/src/node_api.h
54995500
[`process.release`]: process.html#process_process_release
55005501
[`uv_ref`]: http://docs.libuv.org/en/v1.x/handle.html#c.uv_ref
@@ -5504,7 +5505,6 @@ This API may only be called from the main thread.
55045505
[docs]: https://github.com/nodejs/node-addon-api#api-documentation
55055506
[global scope]: globals.html
55065507
[module scope]: modules.html#modules_the_module_scope
5507-
[node-addon-api]: https://github.com/nodejs/node-addon-api
55085508
[node-gyp]: https://github.com/nodejs/node-gyp
55095509
[node-pre-gyp]: https://github.com/mapbox/node-pre-gyp
55105510
[prebuild]: https://github.com/prebuild/prebuild

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.