Skip to content

Commit c145806

Browse files
theanarkhjuanarbol
authored andcommitted
doc: fix style of n-api.md
PR-URL: #44377 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Adrian Estrada <edsadr@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
1 parent b2b9de9 commit c145806

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/n-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,7 +1187,7 @@ added: v16.14.0
11871187

11881188
> Stability: 1 - Experimental
11891189

1190-
````c
1190+
```c
11911191
NAPI_EXTERN napi_status node_api_throw_syntax_error(napi_env env,
11921192
const char* code,
11931193
const char* msg);
@@ -1212,7 +1212,7 @@ napiVersion: 1
12121212
NAPI_EXTERN napi_status napi_is_error(napi_env env,
12131213
napi_value value,
12141214
bool* result);
1215-
````
1215+
```
12161216

12171217
* `[in] env`: The environment that the API is invoked under.
12181218
* `[in] value`: The `napi_value` to be checked.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy