From c6ed51c00953f7162d71be675e6ee4941eab38bd Mon Sep 17 00:00:00 2001 From: theanarkh Date: Thu, 25 Aug 2022 08:53:49 +0800 Subject: [PATCH] doc: fix style of n-api.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/44377 Reviewed-By: Chengzhong Wu Reviewed-By: Daeyeon Jeong Reviewed-By: Mohammed Keyvanzadeh Reviewed-By: Adrian Estrada Reviewed-By: Luigi Pinca Reviewed-By: Tobias Nießen --- 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 71a0081352d..7a7bc286631 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -1187,7 +1187,7 @@ added: v16.14.0 > Stability: 1 - Experimental -````c +```c NAPI_EXTERN napi_status node_api_throw_syntax_error(napi_env env, const char* code, const char* msg); @@ -1212,7 +1212,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.