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 c145806

Browse filesBrowse 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
Copy full SHA for c145806

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+2
-2
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
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.