diff --git a/dist/index.js b/dist/index.js index c426998..f412370 100644 --- a/dist/index.js +++ b/dist/index.js @@ -9480,9 +9480,8 @@ function writeReadme(path, content) { fs.writeFileSync(path, content); } function commentToMarkdown(comment) { - return `> ${comment.text}\n -> -[@${comment.user}](https://github.com/${comment.user}) -[src](${comment.url})`; + return `> ${comment.text} +> -[@${comment.user}](https://github.com/${comment.user})`; } function createGuestbookList(comments) { return comments.map(commentToMarkdown).join("\n\n"); diff --git a/src/book.ts b/src/book.ts index 79ae5c8..86d71f8 100644 --- a/src/book.ts +++ b/src/book.ts @@ -15,9 +15,8 @@ function writeReadme(path: string, content: string): void { } function commentToMarkdown(comment: Comment): string { - return `> ${comment.text}\n -> -[@${comment.user}](https://github.com/${comment.user}) -[src](${comment.url})`; + return `> ${comment.text} +> -[@${comment.user}](https://github.com/${comment.user})`; } function createGuestbookList(comments: Comment[]): string {