From ed52bd0a18e015f7a790310bbbecd2450deffae0 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 c1e981e063f56f..352daceb218d17 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.