Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support markdown display in reply #9593

Open
jaw0r3k opened this issue May 23, 2023 · 7 comments
Open

Support markdown display in reply #9593

jaw0r3k opened this issue May 23, 2023 · 7 comments

Comments

@jaw0r3k
Copy link
Contributor

jaw0r3k commented May 23, 2023

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

image

Steps to Reproduce

Just look at reply example

Versions

Not applicable

Issue priority

Low (slightly annoying)

@MoskalykA
Copy link

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.

image

@jaw0r3k
Copy link
Contributor Author

jaw0r3k commented Jun 8, 2023

guide example shows smth different
as you are showing pure discord
not the ui package

@MoskalykA
Copy link

guide example shows smth different as you are showing pure discord not ui package

The link to the example seems incorrect

@Jiralite
Copy link
Member

Jiralite commented Jun 8, 2023

Yes, that's the whole point of this bug report.

@MoskalykA
Copy link

Yes, that's the whole point of this bug report.

Oh sorry, I thought this repo wasn't about https://github.com/discordjs/guide

@Jiralite
Copy link
Member

Jiralite commented Jun 9, 2023

It's not. It's about https://github.com/discordjs/discord.js/tree/main/apps/guide.

@sportshead
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants