daily
daily copied to clipboard
🐛 BUG: markdown not rendered in `Squad Post`
What went wrong? 🤔
When writing a squad post that shares a link, if we add a description for the link, the preview shows the correctly rendered markdown but the posted content does not.
Expected Behavior
The posted content should always correctly render markdown content.
Steps to Reproduce Issue
1. Go to a squad
2. Click on `New Post`
3. Write a description containing markdown under `Share a link`
4. Go back to the Squad "feed" and see the markdown text not being correctly rendered.
Solution Proposed
Haven't looked into the issue yet but will be reading the source-code to track it down and figure out a possible solution.
Screenshots
Environment
EndeavourOS Linux x86_64, Mozilla Firefox 120.0
Browsers
Firefox
OS
Linux
Version of daily.dev
No response
Additional Context
After some testing this also happens in "normal posts".
The problem occurs mainly on the "post feed" page: when viewing an article (aka, opening the modal), markdown is correctly rendered; this is not the case for "Share a link" posts.
Code of Conduct
- [X] I follow the conditions of this project.
Hi @Naapperas,
It's not a bug it's a feature. 🙈 Currently, markdown is not supported when sharing links. It's actually the title of the post, and titles don't support markdown. We understand it's not intuitive and we'll look at how to address that.