discord.js
discord.js copied to clipboard
Support markdown display in reply
Which application is this bug report for?
Guide
Issue description
Well its more an ui package request, idk why i havent posted the issue with that form
Message replies arent displaying markdown
Steps to Reproduce
Just look at reply example
Versions
Not applicable
Issue priority
Low (slightly annoying)
Hi, I've tested it and it works perfectly for me. Don't hesitate to share your code to find out if the problem isn't there.
guide example shows smth different as you are showing pure discord not the ui package
guide example shows smth different as you are showing pure discord not ui package
The link to the example seems incorrect
Yes, that's the whole point of this bug report.
Yes, that's the whole point of this bug report.
Oh sorry, I thought this repo wasn't about https://github.com/discordjs/guide
It's not. It's about https://github.com/discordjs/discord.js/tree/main/apps/guide.
I've investigated this issue and it seems like the problem lies with upstream mdx not supporting markdown within parameters. The DiscordMessageReply
UI component currently takes in the reply content through DiscordMessage
's reply.content
prop, meaning mdx will not render markdown within that reply.content
string.