OXY2DEV / markview.nvim

An experimental markdown previewer for Neovim
Apache License 2.0
602 stars 23 forks source link

Invalid 'line': out of range when rendering a table #8

Closed fuelen closed 6 days ago

fuelen commented 1 week ago

Table:

| **text**   | link                             |
|------------|----------------------------------|
| **link1**  | N/A                              |
| **link2**  | [example](https://example.com/)  |
OXY2DEV commented 1 week ago

This has been fixed in the dev branch

fuelen commented 1 week ago

Actually, I wanted to report another issue but caught the error mentioned above while preparing the example :slightly_smiling_face:

I wanted to report on the rendering issue when a link is present in the table

image

OXY2DEV commented 1 week ago

That's actually only 1 of the bugs(there's one for italics, bolds, italic bolds, ones using underscore instead of asterisks, image links, hyperlinks, inline codes and basically everywhere neovim conceals by default).

I have to refactor entire code for making tables(again).

TarunDaCoder commented 4 days ago

Hello, I am facing a similar issue, but with invalid 'col': out of range when I try to render a code block.

OXY2DEV commented 4 days ago

Hello, I am facing a similar issue, but with invalid 'col': out of range when I try to render a code block.

Do you happen to have the code block nested inside something else?

Or do you have some line in the the code block that is empty(or misaligned with the rest of the text)?

Also you should provide a screenshot and what you wrote when you face an issue.