Skip to content

bug: Alert titles show a trailing ] #640

@lorenzharfst

Description

@lorenzharfst

Neovim version (nvim -v)

0.11.4

Neovim distribution

LazyVim

Operating system

Linux OpenSUSE KDE/i3

Terminal emulator / GUI

Kitty

Describe the bug

When rendering any alert, the final ] that is part of the markdown is shown with the rendered version

RAW TEXT OF SCREENSHOT:

> [!NOTE]
> A User can be a Fan and a Performer simultaneously
Image Image

Expected behavior

The alert should be rendered without the ]

Healthcheck output

==============================================================================
-health:                                                                  1 ❌

- ❌ ERROR No healthcheck found for "-health" plugin.

==============================================================================
render-markdown:                                                    7 ⚠️  1 ❌

render-markdown.nvim [versions] ~
- ✅ OK neovim >= 0.11
- ✅ OK tree-sitter ABI: 15
- ✅ OK plugin: 8.12.10

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

render-markdown.nvim [tree-sitter markdown] ~
- ✅ OK parser: installed
- ✅ OK ABI: 15
- ✅ OK highlights: /opt/nvim-linux-x86_64/share/nvim/runtime/queries/markdown/highlights.scm
- ❌ ERROR highlighter: not enabled
  - ADVICE:
    - call vim.treesitter.start on markdown buffers

render-markdown.nvim [tree-sitter markdown_inline] ~
- ✅ OK parser: installed
- ✅ OK ABI: 15
- ✅ OK highlights: /opt/nvim-linux-x86_64/share/nvim/runtime/queries/markdown_inline/highlights.scm

render-markdown.nvim [tree-sitter html] ~
- ⚠️ WARNING parser: not installed
  - ADVICE:
    - disable html support to avoid this warning
    - require('render-markdown').setup({ html = { enabled = false } })
- ⚠️ WARNING ABI: unknown
  - ADVICE:
    - disable html support to avoid this warning
    - require('render-markdown').setup({ html = { enabled = false } })

render-markdown.nvim [tree-sitter latex] ~
- ⚠️ WARNING parser: not installed
  - ADVICE:
    - disable latex support to avoid this warning
    - require('render-markdown').setup({ latex = { enabled = false } })
- ⚠️ WARNING ABI: unknown
  - ADVICE:
    - disable latex support to avoid this warning
    - require('render-markdown').setup({ latex = { enabled = false } })

render-markdown.nvim [tree-sitter yaml] ~
- ⚠️ WARNING parser: not installed
  - ADVICE:
    - disable yaml support to avoid this warning
    - require('render-markdown').setup({ yaml = { enabled = false } })
- ⚠️ WARNING ABI: unknown
  - ADVICE:
    - disable yaml support to avoid this warning
    - require('render-markdown').setup({ yaml = { enabled = false } })

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

render-markdown.nvim [latex] ~
- ⚠️ WARNING none installed: { "utftex", "latex2text" }
  - ADVICE:
    - disable latex support to avoid this warning
    - require('render-markdown').setup({ latex = { enabled = false } })

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

Plugin configuration

default configuration

Plugin error log

N/A

Confirmations

  • I have updated this plugin to the latest version using my plugin manager
  • I have updated all treesitter parsers (:TSUpdate)
  • 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

No response

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