Skip to content

Table marks are not aligning properly #75

@ColinKennedy

Description

@ColinKennedy

Describe the bug
The table rendering is off when it contains marked-up character(s)

image

Are you using a distro?
No

To Reproduce
Steps to reproduce the behavior:

  1. Install markview.nvim.
  2. Open a markdown document.
| 1 |      2       |                                         3                               |
| - | ------------ | ----------------------------------------------------------------------- |
| n | `<leader>`rr | [r]e-[r]un the last terminal command (The !! syntax is UNIX-specific)   |
| n | `<leader>`st | [s]end to the nearest [t]erminal your system clipboard text.            |

Expected behavior
The table should have consistent boundaries like here

https://jbt.github.io/markdown-editor/#pdA9C8IwEAbgvb/iiosOEdRVnFxcOikIpdCYnhjIR0mu2EJ/vEe1YF0UfIeEy4XnQmaQ4R32XjUWHSVJDyvoYcj6uY3lD9l86ffMC/bEWz7KPzLwjr1ya1BWGHZlCFzmoUDBS+OAbghGRgLCYLWTBpS3VroK5kdupSnEzpFsQUc4ZYeziDUqfdVq8Xr9lGeI+VggA+QH3aEMyOc5FeOIzjeB3UhoQRldX7wMfB9bWk4/5wE=

Or with MeanderingProgrammer/markdown.nvim

image

Actual behavior
The table is misaligned

Neovim version
0.10.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions