Skip to content

Commit

Permalink
docs: fix style of n-api.md
Browse files Browse the repository at this point in the history
  • Loading branch information
theanarkh committed Aug 24, 2022
1 parent 937520a commit 56050bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1189,7 +1189,7 @@ added:

> Stability: 1 - Experimental

````c
```c
NAPI_EXTERN napi_status node_api_throw_syntax_error(napi_env env,
const char* code,
const char* msg);
Expand All @@ -1214,7 +1214,7 @@ napiVersion: 1
NAPI_EXTERN napi_status napi_is_error(napi_env env,
napi_value value,
bool* result);
````
```

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

0 comments on commit 56050bb

Please sign in to comment.