diff --git a/files/zh-cn/.markdownlint-cli2.jsonc b/files/zh-cn/.markdownlint-cli2.jsonc index f60e7e1869d8b1..5c24e798e44b87 100644 --- a/files/zh-cn/.markdownlint-cli2.jsonc +++ b/files/zh-cn/.markdownlint-cli2.jsonc @@ -15,14 +15,14 @@ // "name": "m-dash", // "message": "Don't use '--'. Use m-dash — instead", // "search": " -- ", - // "replace": " — ", + // "replace": "——", // "searchScope": "text" // }, // { // "name": "relative-link", // "message": "Internal links should start with '/'", - // "searchPattern": "/([\\(\"])[\\w\\-]+\\/docs/g", - // "replace": "$1/en-US/docs", + // "searchPattern": "/([\\(\"])(en-US|zh-cn)\\/docs/gi", + // "replace": "$1/$2/docs", // "searchScope": "text" // }, { diff --git a/files/zh-tw/.markdownlint-cli2.jsonc b/files/zh-tw/.markdownlint-cli2.jsonc index 0c05127d133924..518cf79febf3a9 100644 --- a/files/zh-tw/.markdownlint-cli2.jsonc +++ b/files/zh-tw/.markdownlint-cli2.jsonc @@ -30,16 +30,16 @@ // "name": "m-dash", // "message": "Don't use '--'. Use m-dash — instead", // "search": " -- ", - // "replace": " — ", + // "replace": "——", // "searchScope": "text" // }, // { // "name": "relative-link", // "message": "Internal links should start with '/'", - // "searchPattern": "/([\\(\"])[\\w\\-]+\\/docs/g", - // "replace": "$1/en-US/docs", + // "searchPattern": "/([\\(\"])(en-US|zh-tw)\\/docs/gi", + // "replace": "$1/$2/docs", // "searchScope": "text" - // }, + //}, { "name": "relative-link-path", "message": "Don't use relative paths",