# markdown: Fix block quote continuation highlighting \(\#51465\) · gitcafe/zed

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

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

Visibility: public

Requested revision: da8a7e8b506f13d6c3e677ad6c95e9c5c245af53

Requested commit: da8a7e8b506f13d6c3e677ad6c95e9c5c245af53

Commit: da8a7e8b506f13d6c3e677ad6c95e9c5c245af53

Tree: 1424eea5a6fe3ad9a25301d5d8676d8508973098

Author: Kurian Jojo

Committer: GitHub

## Message

````
markdown: Fix block quote continuation highlighting (#51465)

There is no highlight for block quotes continued on multiple lines

Currently, the ">" on lines 2 and 3 are not highlighted in the same way
as line 1
<img width="291" height="73" alt="image"
src="https://github.com/user-attachments/assets/7a2f2e25-6ee1-40a6-8833-f06ca7ee6ba9"
/>

After this PR,
<img width="249" height="75" alt="image"
src="https://github.com/user-attachments/assets/34a2971f-8061-4d92-ac45-a8043d5d0566"
/>


for this input
```md
> abcd
>
> abcd
```

tree-sitter produces this 
```
(document [0, 0] - [3, 0]
  (section [0, 0] - [3, 0]
    (block_quote [0, 0] - [3, 0]
      (block_quote_marker [0, 0] - [0, 2])
      (paragraph [0, 2] - [1, 1]
        (inline [0, 2] - [0, 6])
        (block_continuation [1, 0] - [1, 1]))
      (block_continuation [2, 0] - [2, 2])
      (paragraph [2, 2] - [3, 0]
        (inline [2, 2] - [2, 6])))))
```

the screenshots in #43043 also show this issue

Release Notes:

- Fixed highlighting of block quotes continued over multiple lines in
markdown files
````

## Parents

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

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