MeanderingProgrammer / render-markdown.nvim

Plugin to improve viewing Markdown files in Neovim
MIT License
1.73k stars 38 forks source link

bug: LaTeX code rendered on top of the code #97

Closed raffaem closed 3 months ago

raffaem commented 3 months ago

Neovim version (nvim -v)

0.10

Operating system

Arch Linux

Terminal emulator / GUI

kitty

Describe the bug

Latex code is rendered above the paragraph that contains it instead of in its place

You need to go to the hospital if your body temperature is $ \ge 40$.

image

Expected behavior

The rendered equation should substitute the equation code, not be rendered on top of it

Healthcheck output

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

markdown.nvim [neovim version] ~

markdown.nvim [configuration] ~

markdown.nvim [nvim-treesitter] ~

markdown.nvim [executables] ~

markdown.nvim [conflicts] ~

Plugin configuration

Default configuration

return {
  'MeanderingProgrammer/markdown.nvim',
  main = "render-markdown",
  opts = {},
  name = 'render-markdown',                                                      -- Only needed if you have another plugin named markdown.nvim
  -- dependencies = { 'nvim-treesitter/nvim-treesitter', 'echasnovski/mini.nvim' }, -- if you use the mini.nvim suite
  -- dependencies = { 'nvim-treesitter/nvim-treesitter', 'echasnovski/mini.icons' }, -- if you use standalone mini plugins
  dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' }, -- if you prefer nvim-web-devicons
}

Confirmations

Additional information

No response

MeanderingProgrammer commented 3 months ago

Yep, too hard to fix, no plans on it. Open to PRs though.

https://github.com/MeanderingProgrammer/markdown.nvim/blob/main/doc%2Flimitations.md