From 344eb384c9275508ff058941c4f35c4016f0d311 Mon Sep 17 00:00:00 2001 From: tuluffy Date: Thu, 13 Oct 2022 19:27:49 -0700 Subject: [PATCH] Update plugin-handbook.md Adjust some format. --- translations/zh-Hans/plugin-handbook.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/translations/zh-Hans/plugin-handbook.md b/translations/zh-Hans/plugin-handbook.md index 6e0a7c81..e4d1b936 100644 --- a/translations/zh-Hans/plugin-handbook.md +++ b/translations/zh-Hans/plugin-handbook.md @@ -1311,9 +1311,9 @@ path.getStatementParent(); * 使用 `path.container`获取路径的容器(包含所有同级节点的数组) * 使用 `path.listKey`获取容器的key -> 这些API用于 babel-minify 中使用的 transform-merge-sibling-variables 插件.

-> -> ```js +> 这些API用于 `babel-minify` 中使用的 `transform-merge-sibling-variables` 插件.

+ +```js var a = 1; // pathA, path.key = 0 var b = 2; // pathB, path.key = 1 var c = 3; // pathC, path.key = 2 @@ -2158,4 +2158,4 @@ pluginTester({ * * * -> ***对于将来的更新,请跟随 @thejameskyle 和 @babeljs 的Twitter。

\ No newline at end of file +> ***对于将来的更新,请跟随 @thejameskyle 和 @babeljs 的Twitter。