# agent_ui: Fix markdown block for tool call input and output content \(\#45454\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 215ac50bc8645f38db3d62c02dc21c7694c45b7d

Requested commit: 215ac50bc8645f38db3d62c02dc21c7694c45b7d

Commit: 215ac50bc8645f38db3d62c02dc21c7694c45b7d

Tree: 16af1628cbf5f3555a21285dc899865e2e7a3b97

Author: Danilo Leal

Committer: GitHub

## Message

```
agent_ui: Fix markdown block for tool call input and output content (#45454)

This PR fixes two issues with regards to markdown codeblocks rendered in
tool call input and output content display:
- the JSON code snippets weren't properly indented
- codeblocks weren't being rendered in unique containers; e.g., if you
hovered one scrollbar, all of them would also be hovered, even though
horizontal scrolling itself worked properly

Here's the end result:


https://github.com/user-attachments/assets/3d6daf64-0f88-4a16-a5a0-94998c1ba7e2

Release Notes:

- agent: Fix scrollbar and JSON indentation for tool call input/output
content's markdown codeblocks.
```

## Parents

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

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