markdown.nvim icon indicating copy to clipboard operation
markdown.nvim copied to clipboard

bug: markdown rendering is not correct

Open neerajnishant opened this issue 6 months ago • 5 comments
trafficstars

Neovim version (nvim -v)

0.11.1

Neovim distribution

N/A

Operating system

Linux

Terminal emulator / GUI

Gnome Terminal (with tmux)

Describe the bug

Markdown rendering is not correct (based on the examples shown in the wiki)

Data:

# Links

- ![Image](test.png)
- [Markdown File](test.md)
- [Python File](test.py)
- [Website](https://test.com)
- [[wikilink]]
- [[wikilink|Wikilink Alias]]
- [Reference][example]
- <[email protected]>

Rendering:

Image

Expected behavior

Expected Rendering: https://github.com/MeanderingProgrammer/render-markdown.nvim/wiki/Links#default

Healthcheck output

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

render-markdown.nvim [version] ~
- ✅ OK plugin 8.4.1
- ✅ OK neovim >= 0.11

render-markdown.nvim [configuration] ~
- ✅ OK valid

render-markdown.nvim [treesitter] ~
- ✅ OK markdown: parser installed
- ✅ OK markdown_inline: parser installed
- ✅ OK latex: parser not installed
- ⚠️ WARNING html: parser not installed
  - ADVICE:
    - disable html support to avoid this warning
    - require('render-markdown').setup({ html = { enabled = false } })
- ✅ OK markdown: highlight enabled

render-markdown.nvim [icons] ~
- ✅ OK using: mini.icons

render-markdown.nvim [executables] ~
- ✅ OK latex2text: not installed

render-markdown.nvim [conflicts] ~
- ✅ OK headlines: not installed
- ✅ OK markview: not installed
- ✅ OK obsidian: not installed

Plugin configuration

{                                                                                                                                                                                                                  
  code = {                                                                                                                                                                                                         
    border = "thick",                                                                                                                                                                                              
    highlight = "NONE",                                                                                                                                                                                            
    style = "normal"                                                                                                                                                                                               
  },                                                                                                                                                                                                               
  indent = {                                                                                                                                                                                                       
    enabled = true                                                                                                                                                                                                 
  },                                                                                                                                                                                                               
  latex = {                                                                                                                                                                                                        
    enabled = false                                                                                                                                                                                                
  },                                                                                                                                                                                                               
  link = {                                                                                                                                                                                                         
    wiki = {                                                                                                                                                                                                       
      body = <function 1>                                                                                                                                                                                          
    }                                                                                                                                                                                                              
  },                                                                                                                                                                                                               
  pipe_table = {                                                                                                                                                                                                   
    border_virtual = true                                                                                                                                                                                          
  },                                                                                                                                                                                                               
  quote = {                                                                                                                                                                                                        
    highlight = "RenderMarkdownQuote"                                                                                                                                                                              
  }                                                                                                                                                                                                                
}

(Using the default configuration for links as per https://github.com/MeanderingProgrammer/render-markdown.nvim/wiki/Links#default)

Plugin error log

N/A

Confirmations

  • [x] I have updated this plugin to the latest version using my plugin manager
  • [x] 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

Additional plugins installed:

Total: 36 plugins

Loaded (33) ● catppuccin 4.81ms  start ● cmp-buffer 0.2ms  nvim-cmp ● cmp-git 0.21ms  nvim-cmp ● cmp-nvim-lsp 0.17ms  nvim-cmp ● cmp-nvim-lua 0.2ms  nvim-cmp ● cmp-path 0.18ms  nvim-cmp ● cmp_luasnip 0.21ms  nvim-cmp ● Comment.nvim 1.06ms  start ● diffview.nvim 2.35ms  neogit ● fidget.nvim 2.33ms  nvim-lspconfig ● friendly-snippets 0.51ms  LuaSnip ● gitsigns.nvim 2.41ms  neogit ● indent-blankline.nvim 1.3ms  start ● lazy.nvim 6.46ms  init.lua ● lualine.nvim 6.67ms  start ● LuaSnip 16.12ms  start ● mason-lspconfig.nvim 58.87ms  nvim-lspconfig ● mason.nvim 1.83ms  start ● mini.icons 13.81ms  render-markdown.nvim ● neo-tree.nvim 10.7ms  start ● neogit 14.34ms  start ● nui.nvim 0.28ms  neo-tree.nvim ● nvim-autopairs 1.96ms  nvim-cmp ● nvim-cmp 9.62ms 󰢱 cmp  mini.icons ● nvim-lspconfig 64.18ms  start ● nvim-treesitter 9.44ms  render-markdown.nvim ● nvim-treesitter-context 1ms  start ● nvim-treesitter-textobjects 6.28ms  nvim-treesitter ● plenary.nvim 0.49ms  telescope.nvim ● render-markdown.nvim 27.2ms  start ● telescope-fzf-native.nvim 0.26ms  telescope.nvim ● telescope.nvim 8.26ms  start ● vim-fugitive 1.09ms  start

Disabled (3) ○ nvim-web-devicons ○ onedark.nvim ○ vim-sleuth

neerajnishant avatar May 19 '25 17:05 neerajnishant