(filePath: string, metadata: Record<string, unknown>)
| 171 | |
| 172 | if (directories.length === 1) { |
| 173 | return `目录: <code>${htmlEscape(directories[0])}</code>`; |
| 174 | } |
| 175 | |
| 176 | const body = directories.map((dir) => `<code>${htmlEscape(dir)}</code>`).join('\n'); |
| 177 | return `目录摘要:\n<blockquote expandable>${body}</blockquote>`; |
| 178 | } |
| 179 | |
| 180 | private formatSourceLine(chatLabel: string, chatId: string, messageId: number): string { |
| 181 | const sourceLink = this.generateMessageLink(chatId, messageId); |
no test coverage detected