We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b22115 commit 8ad5b94Copy full SHA for 8ad5b94
src/lib/show-notes.ts
@@ -28,11 +28,11 @@ export async function generateShowNotes({
28
let showNotes = `This is a recap of the top 10 posts on Hacker News on ${formattedDate}.\n\n`
29
showNotes += stories
30
.map(story => {
31
- let str = `${story.title}\nHN: ${story.hnUrl}\n`
+ let str = `${story.title}\n`
32
if (story.url) {
33
- str += `Link: ${story.url}\n`
+ str += `${story.url}\n`
34
}
35
- str += `Points: ${story.points} | Comments: ${story.comments.length}\n`
+ str += `${story.hnUrl}\n`
36
return str
37
})
38
.join('\n')
0 commit comments