You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a table contains inline code between backticks (like so), the borders of the table are not drawn at the correct place on that line. It looks like the computation of the required line length is off.
Minimal example:
|`foo`|bar||---|---||a|b|
is displayed as
Expected behavior
the table border should be at the correct place
Healthcheck output
==============================================================================
render-markdown: require("render-markdown.health").check()
render-markdown.nvim [version] ~
- OK plugin 7.8.2
- OK neovim >= 0.10
render-markdown.nvim [configuration] ~
- OK valid
render-markdown.nvim [nvim-treesitter] ~
- OK installed
- OK markdown: parser installed
- OK markdown: highlight enabled
- OK markdown_inline: parser installed
- OK markdown_inline: highlight enabled
- WARNING latex: parser not installed
- ADVICE:
- Disable LaTeX support to avoid this warning by setting { latex = { enabled = false } }
render-markdown.nvim [icons] ~
- OK using: nvim-web-devicons
render-markdown.nvim [executables] ~
- WARNING latex2text: not installed
- ADVICE:
- Disable LaTeX support to avoid this warning by setting { latex = { enabled = false } }
render-markdown.nvim [conflicts] ~
- OK headlines: not installed
- OK obsidian: installed but should not conflict
Plugin configuration
{ render_modes=true }
Plugin error log
N/A
Confirmations
I have updated this plugin to the latest version using my plugin manager
I have provided the text contained in all screenshots as raw text in this issue. This means if there is a screenshot below it is the copy pasted contents of the file in the screenshot. I understand that my issue will be closed if I have not.
Additional information
No response
The text was updated successfully, but these errors were encountered:
## Details
Issue: #287
We have a default padding of 1 set for pipe table cells. However when
there is not actually enough space available to create this padding we
end up with unhandled negative values which lead to poor rendering.
To fix this adjust column width calculation to account for needed space.
For example if we have a cell like `|foo|`, it would normally have a
width of 3. Naturally there is not enough space on either side for
padding. The fix adds to the width value for each cell to ensure it can
allow for the specified amount of padding on both side, so now the width
calculation is 5. With a column width of 5 and the cell still having an
actual width of 3 we'll end up doing the correct thing and adding a
space on both sides resulting in `| foo |`.
Neovim version (nvim -v)
0.10.2
Neovim distribution
N/A
Operating system
Linux
Terminal emulator / GUI
kitty
Describe the bug
When a table contains inline code between backticks (
like so
), the borders of the table are not drawn at the correct place on that line. It looks like the computation of the required line length is off.Minimal example:
is displayed as

Expected behavior
the table border should be at the correct place
Healthcheck output
Plugin configuration
Plugin error log
Confirmations
Additional information
No response
The text was updated successfully, but these errors were encountered: