Skip to content

Links are being truncated #598

@alloc33

Description

@alloc33

I would like to know if it possible to fix this somehow:

When I create a link in format [[<url>|<short_description]] - it's being tructated how it shown in the screenshot

Image

Here you can see the link with description when I hover on it

Image

Here is my render-markdown config:

    return {
        {
            'MeanderingProgrammer/render-markdown.nvim',
            cmd = { 'RenderMarkdown' },
            dependencies = { 'nvim-treesitter/nvim-treesitter', 'echasnovski/mini.nvim' },
            ft = { "markdown", "Avante" },
            config = function()
                vim.cmd('highlight RenderMarkdownInlineHighlight guibg=#4b5f8a guifg=#d0e8ff')

                require('render-markdown').setup({
                    file_types = { "markdown", "Avante" },
                    inline_highlight = {
                        enabled = true,
                        highlight = 'RenderMarkdownInlineHighlight',
                    },
                    render_modes = true
                })
            end,
        },
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions