Skip to content

Commit 4782ec7

Browse files
Trottrichardlau
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 <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent 18b04ab commit 4782ec7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/n-api.md

+3-3
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

@@ -5806,6 +5806,7 @@ This API may only be called from the main thread.
58065806
[`napi_throw`]: #n_api_napi_throw
58075807
[`napi_unwrap`]: #n_api_napi_unwrap
58085808
[`napi_wrap`]: #n_api_napi_wrap
5809+
[`node-addon-api`]: https://github.com/nodejs/node-addon-api
58095810
[`node_api.h`]: https://github.com/nodejs/node/blob/master/src/node_api.h
58105811
[`process.release`]: process.html#process_process_release
58115812
[`uv_ref`]: https://docs.libuv.org/en/v1.x/handle.html#c.uv_ref
@@ -5815,7 +5816,6 @@ This API may only be called from the main thread.
58155816
[docs]: https://github.com/nodejs/node-addon-api#api-documentation
58165817
[global scope]: globals.html
58175818
[module scope]: modules.html#modules_the_module_scope
5818-
[node-addon-api]: https://github.com/nodejs/node-addon-api
58195819
[node-gyp]: https://github.com/nodejs/node-gyp
58205820
[node-pre-gyp]: https://github.com/mapbox/node-pre-gyp
58215821
[prebuild]: https://github.com/prebuild/prebuild

0 commit comments

Comments
 (0)