Update RemarkRenderer.tsx

pull/1140/head
Ganni 2024-12-02 22:21:55 -05:00 committed by GitHub
parent 5ba2b24060
commit be884c3022
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,7 @@ import { remarkHtmlToText } from "./plugins/htmlToText";
import { remarkMention, RenderMention } from "./plugins/mentions";
import { remarkSpoiler, RenderSpoiler } from "./plugins/spoiler";
import { remarkTimestamps } from "./plugins/timestamps";
import { remarkTableLineBreaks } from "./plugins/tableLineBreaks";
import "./prism";
/**
@ -144,6 +145,7 @@ const render = unified()
.use(remarkEmoji)
.use(remarkMention)
.use(remarkHtmlToText)
.use(remarkTableLineBreaks)
.use(remarkRehype, {
handlers,
})