From bd1f7540efbad7a3c311f20c65689a6336ead5db Mon Sep 17 00:00:00 2001 From: theanarkh Date: Thu, 25 Aug 2022 00:02:55 +0800 Subject: [PATCH] doc: fix style of n-api.md --- doc/api/n-api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/n-api.md b/doc/api/n-api.md index 56fc3491a2c8e2..ef7317e5f687e9 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -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); @@ -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.