mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-09 18:15:28 +00:00
Update RemarkRenderer.tsx
This commit is contained in:
@@ -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,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user