refactor: style

This commit is contained in:
2026-03-21 19:09:54 +08:00
parent fbdb427532
commit 68d57ac049
2 changed files with 3 additions and 4 deletions
+2 -3
View File
@@ -48,9 +48,8 @@ export default function markedTable(): MarkedExtension {
if(header.findIndex(header => header.text === 'body') < 0){
// 收集所有非 label 列的表头
const bodyColumns = header
.filter(cell => cell.text !== 'md-table-label')
.map(cell => cell.text);
const bodyColumns = headers
.filter(cell => cell !== 'label');
// 构建 body 列的模板:**列名**{{列名}}\n\n
const bodyTemplate = bodyColumns