Skip to content

Commit

Permalink
chore: improve syntax highlighting in Summarizer (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-smart authored May 22, 2023
1 parent 92514d0 commit c90cade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Summarizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ ${messageContent.join("\n\n")}`,
() => "",
([, index]) => ` (replying to \\#${index})`,
)} &mdash; ${new Date(message.timestamp).toUTCString()}<br />
${message.content}`
${message.content.replace(/```ts\b/g, "```typescript")}`

const mentions = yield* _(
Effect.forEachPar(content.matchAll(/<@(\d+)>/g), ([, userId]) =>
Expand Down

0 comments on commit c90cade

Please sign in to comment.