This commit is contained in:
Dr3@m 2024-04-23 13:27:00 +08:00 committed by GitHub
commit 168b286b9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 3 deletions

View File

@ -60,14 +60,13 @@ async function getResultAndUpdateREADME() {
const newTable = table.map(row => {
return [
row[2] ? getFeedsPubBtn(row[2], row[4]) : '',
row[0].replace(/\|/g, '|'),
row[1],
`[${row[0].replace(/\|/g, '|')}](${row[1]})`,
row[3]
]
});
// update README
const tableContentInMD = markdownTable([['<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RSS 订阅数</p>', '简介', '链接', '标签'], ...newTable]);
const tableContentInMD = markdownTable([['<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RSS 订阅数</p>', '博客/简介', '标签'], ...newTable]);
const readmeContent = `
# 中文独立博客列表