From 7e42e9a68dc3d8f331d3a1025b8c4b6c21fb6e14 Mon Sep 17 00:00:00 2001 From: abgox Date: Tue, 11 Jun 2024 18:34:46 +0800 Subject: [PATCH] feat(script): update auto-update-readme.ps1 --- script/auto-update-readme.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script/auto-update-readme.ps1 b/script/auto-update-readme.ps1 index 6b187f2..c8a09e9 100644 --- a/script/auto-update-readme.ps1 +++ b/script/auto-update-readme.ps1 @@ -111,15 +111,15 @@ function generate_list { $result = Compare-JsonProperties -hashTableEN $hashTableEN -hashTableCN $hashTableCN return $result.CompletionPercentage } - $lang_info = @("``$($lang_list[0])``") + $lang_info = @("**$($lang_list[0])**") if ($lang_list.Count -gt 1) { foreach ($lang in $lang_list[1..($lang_list.Count - 1)]) { $percentage = get_percentage $lang if ($lang -in $json_config.language) { - $lang_info += "``$($lang)($($percentage)%)``" + $lang_info += "**$($lang)($($percentage)%)**" } else { - $lang_info += "~~``$($lang)($($percentage)%)``~~" + $lang_info += "**~~$($lang)~~($($percentage)%)**" } } }