OXY2DEV/markview.nvim

๐Ÿž Bug: Latex does not render in list

inwonakng opened this issue ยท 1 comments

Before reporting:

  • Ensure that the issue is reproducable on the main branch.
  • Ensure that there isn't an issue on this(either open or closed).

Problem:

inline latex expressions are not rendered when placed in bullet lists.

Screenshot 2024-11-13 at 9 46 01โ€ฏAM

My configuration (using lazy):

return {
  "OXY2DEV/markview.nvim",
  lazy = false, -- Recommended
  dependencies = {
    "nvim-treesitter/nvim-treesitter",
    "nvim-tree/nvim-web-devicons",
  },
  opts = {
    list_items = {
      marker_minus = {
        add_padding = false,
      },
      marker_plus = {
        add_padding = false,
      },
      marker_star = {
        add_padding = false,
      },
    },
    latex = {
      enable = true,
      block = {
        enable = true,
      },
      inline = {
        enable = true,
      },
      symbols = {
        enable = true,
      },
      subscript = {
        enable = true,
      },
      superscript = {
        enable = true,
      },
    },
  },
}

Steps to reproduce the issue:

Using latest version (main, 24.0.0) of markview and enabled latex support. No other markdown rendering-related plugins.

Expected behavior:

I expect the expressions in side list items to render the same way as regular text lines.

Neovim version:

0.10.2

Just realized this is a duplicate of #182, will close.