MeanderingProgrammer / render-markdown.nvim

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

bug: checkboxes rendered over text #67

Closed devboy closed 2 months ago

devboy commented 2 months ago

Neovim version (nvim -v)

v0.10.0

Operating system

MacOS

Terminal emulator / GUI

Wezterm

Describe the bug

Checkboxes renders are "eating" up the first two characters of text. Screenshot 2024-07-17 at 08 06 46 Screenshot 2024-07-17 at 08 06 40

Expected behavior

Checkboxes should show the full text.

Healthcheck output (:checkhealth render-markdown)

============================================================================== render-markdown: require("render-markdown.health").check()

markdown.nvim [neovim version] ~

markdown.nvim [configuration] ~

markdown.nvim [nvim-treesitter] ~

markdown.nvim [executables] ~

Additional information

No response

devboy commented 2 months ago

Looks like this is an issue only in combination with obsidian.nvim. Will close.

rstacruz commented 2 months ago

I can confirm this is an issue happening when used with obsidian.nvim.

Currently I use this workaround:

require("obsidian").setup({
      ui = {
        -- use markdown.nvim instead for these
        checkboxes = {},
        bullets = {},
        external_link_icon = {},
      },
})