docs(changelog): vant@4.6.5 (#12199)
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
/**
|
||||
* This script is used to format changelog which is generated by GitHub
|
||||
* because we need to paste it to the changelog page of Vant website.
|
||||
*
|
||||
* translation prompt:
|
||||
* You are a professional software developer who is proficient in both English and Chinese. Please translate the following software changelog from English to Chinese, keeping the header of the commit information in English and the position of the contributor information unchanged.
|
||||
*/
|
||||
|
||||
// paste changelog here
|
||||
@@ -55,6 +58,6 @@ changelog.split('\n').map((line) => {
|
||||
}
|
||||
|
||||
// format author
|
||||
line = line.replace(/@([\w-]+)/, '[$1](https://github.com/$1)');
|
||||
line = line.replace(/@([\w-]+)/, '[@$1](https://github.com/$1)');
|
||||
console.log(line);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user