You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support clickable markdown links within paragraphs.
Use regex to detect markdown link syntax ([text](url)) in paragraph content and render them as HTML tags with appropriate attributes.
Links should be styled to match the classic underline design.
Ideas/Features:
Detect and render markdown links as clickable elements.
Ensure accessibility attributes like aria-label are added for screen readers.
Add test cases to verify proper detection and rendering of links.
The text was updated successfully, but these errors were encountered:
And then while rendering individual cells, we check this modifier and do some magic to wrap the related spans in an anchor tag (i.e. <a href="..."> </a>)
This is an approach that I adopted from webatui and I'm guessing the reason why they did that is there isn't a way to retrieve the widget data/metadata in the draw function of the backend.
This also limits our ability to attach arbitrary data to widgets, so I'm not sure if it would be possible to do custom text apart from url if we follow the same approach.
Maybe @joshka can give us some pointers about this 🙏🏼
Support clickable markdown links within paragraphs.
Use regex to detect markdown link syntax
([text](url))
in paragraph content and render them as HTML tags with appropriate attributes.Links should be styled to match the classic underline design.
Ideas/Features:
The text was updated successfully, but these errors were encountered: