MeanderingProgrammer / render-markdown.nvim

Plugin to improve viewing Markdown files in Neovim
MIT License
1.39k stars 33 forks source link

bug: Callouts render incorrectly for "quote-paragraphs" #41

Closed Townk closed 2 months ago

Townk commented 2 months ago

Neovim version (nvim -v)

0.10.0

Operating system

macOS

Terminal emulator / GUI

Kitty 0.35.1

Describe the bug

Callouts render perfect when they are made on a contiguous sequence of text:

CleanShot 2024-06-22 at 13 07 18

But, as soon as the quotation adds paragraphs to it, the rendering is broken:

CleanShot 2024-06-22 at 13 09 04

I tried to play around with the TreeSitter query to see if I could fix it in my configuration, but my lack of knowledge in that area held me down :P

Expected behavior

The plugin should render the left-side bar on the entire quotation when it is a callout.

Additional information

No response

MeanderingProgrammer commented 2 months ago

Hi, thanks for bringing this up!

Should be resolved by: https://github.com/MeanderingProgrammer/markdown.nvim/commit/6f64bf645b817ff493a28925b1872a69d07fc094

Please update and lmk if it works as expected!

Townk commented 2 months ago

Yep, I can confirm the issue is solved with the commit you linked. Thank you so much for the quick response!