# Correctly handle file links in markdown and agent threads \(\#56024\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/de744e744ce81dfb1c5eb31462e3a09334e89265)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: de744e744ce81dfb1c5eb31462e3a09334e89265

Requested commit: de744e744ce81dfb1c5eb31462e3a09334e89265

Commit: de744e744ce81dfb1c5eb31462e3a09334e89265

Tree: 0588575e1967ed9edd36b6456f59aac6b8331d46

Author: Lukas Wirth

Committer: GitHub

## Message

```
Correctly handle file links in markdown and agent threads (#56024)

Closes https://github.com/zed-industries/zed/issues/54840

There are likely more places we can use this new workspace function in,
but these are the known ones to me right now

Release Notes:

- Fixed file hyperlinks in the agent panel not opening files when
clicked

Co-authored-by: saberoueslati <saberoueslati12@gmail.com>
```

## Parents

- [8807ac4f3b0c995ac7fa36a590d4cc5473d356aa](https://git.cafe/gitcafe/zed/commit/8807ac4f3b0c995ac7fa36a590d4cc5473d356aa?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/de744e744ce81dfb1c5eb31462e3a09334e89265?format=markdown)
