raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.32k stars 3.01k forks source link

markdown links inside List.Item.Detail are not rendered correctly #9110

Closed gobear6212 closed 11 months ago

gobear6212 commented 11 months ago

Description

After the latest update, links passed into the markdown property of List.Item.Detail aren't rendered correctly. They are rendered as text instead of links in the item view.

Steps To Reproduce

  1. Follow the example from List - Raycast API to create a list item
  2. Follow the example to pass <List.Item.Detail markdown="![Illustration](https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/25.png)" /> as the detail
  3. The image is rendered properly when viewed inside Raycast
  4. Modify the last line and pass <List.Item.Detail markdown="[Illustration](https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/25.png)" /> as link instead (without !)
  5. The link is not rendered correctly when viewed inside Raycast

Current Behaviour

Markdown links are rendered as normal text

Expected Behaviour

Markdown links should be rendered as clickable links which is opened in the browser when a user clicks on it

mathieudutour commented 11 months ago

Ah yep, I'll fix it