Skip to content

Commit ed52bd0

Browse files
theanarkhRafaelGSS
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 3eb7918 commit ed52bd0

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
@@ -1189,7 +1189,7 @@ added:
11891189

11901190
> Stability: 1 - Experimental
11911191

1192-
````c
1192+
```c
11931193
NAPI_EXTERN napi_status node_api_throw_syntax_error(napi_env env,
11941194
const char* code,
11951195
const char* msg);
@@ -1214,7 +1214,7 @@ napiVersion: 1
12141214
NAPI_EXTERN napi_status napi_is_error(napi_env env,
12151215
napi_value value,
12161216
bool* result);
1217-
````
1217+
```
12181218

12191219
* `[in] env`: The environment that the API is invoked under.
12201220
* `[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