Closed oliviertassinari closed 1 year ago
I wonder what we should do with the headers. At minimum, they should use the theme typography but not sure about what's the right variant
s for them.
I noticed something else while using this new markdown feature. In https://master--toolpad.mui.com/_toolpad/app/cl6rqzry10009arlv9sto6qja/pages/ep03m95
when I click on the link, it breaks the editor and doesn't open the link. I clicked on the link to see if I needed to update the link or not.
We could add target="_blank"
. It wasn't smooth.
There is a margin around the markdown.
I think it's the spacing that's between all elements on the page. Perhaps it makes sense to add the title inside of the markdown as well?
There is a margin around the markdown.
I think it's the spacing that's between all elements on the page.
There definitely was some additional margin that react-markdown
was adding, markdown-to-jsx
fixed that
On https://master--toolpad.mui.com/_toolpad/app/cl6rqzry10009arlv9sto6qja/pages/ip23ggo, it feels cleaner, great 👍
Things that we could still improve:
I'm reopening, we can use this as an umbrella issue. There will likely be a lot of opportunities for polish if the becomes used. For now, it's not really important to improve the markdown component.
Things that we could still improve:
Adjusted those in https://github.com/mui/mui-toolpad/pull/1690
@prakhargupta1 Should we close this since the to-dos listed in the comment above have been closed? We can potentially create another issue about separating the Text and the Markdown components back into two different ones (This is the one: https://github.com/mui/mui-toolpad/issues/1702)
Duplicates
Latest version
Steps to reproduce 🕹
Steps:
Current behavior 😯
<a>
isn't rendered with the<Link>
of Material UI.Expected behavior 🤔
The opposite.
Context 🔦
I'm updating some of the Toolpad app we use for the support to use markdown. Related to #1298.
Your environment 🌎
No response