This commit is contained in:
tangly1024
2022-12-07 19:04:53 +08:00
parent a53ff41527
commit 23793dbd1e
3 changed files with 3 additions and 3 deletions

View File

@@ -72,7 +72,7 @@ function filterPostBlocks(id, pageBlock, slice) {
continue
}
count++
// 处理 c++ 和 c#等语言名字映射
// 处理 c++、c#、汇编等语言名字映射
if (b?.value?.type === 'code') {
if (b?.value?.properties?.language?.[0][0] === 'C++') {
b.value.properties.language[0][0] = 'cpp'