brianhuster / live-preview.nvim

A Live Preview Plugin for Neovim that allows you to view Markdown, HTML (along with CSS, JavaScript), AsciiDoc files in a web browser with live updates.
GNU General Public License v3.0
76 stars 3 forks source link

bug: callouts dont work #239

Open melsiir opened 1 day ago

melsiir commented 1 day ago

Did you read the documentation and check existing issues?

Neovim version (nvim -v)

0.10.2

Operating system/version

Ubentu 24.04.1

Describe the bug

the plugin is awesom and work well but does not support markdown callouts like [!NOTE] or caution or info it just appear plain text

Steps To Reproduce

  1. run live-preview

Expected Behavior

callouts must be supported for markdown preview

Health

No response

Repro

vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
    spec = {
    {
        -- Add anything you need here (configuration, other plugins, etc)
        "ColinKennedy/nvim-best-practices-plugin-template",
    },
})
github-actions[bot] commented 1 day ago

Thank you for your issue! We appreciate your feedback and will look into it as soon as possible. Please make sure to include all necessary details (including a minimal config that can reproduce the error) to help us assist you better. Pull requests are also welcome!

brianhuster commented 16 hours ago

Steps To Reproduce

run live-preview

That is not enough for me to reproduce. I suggest you should include a part of your markdown file that contain what you call callout in the Steps To Reproduce section.

Expected Behavior

callouts must be supported for markdown preview

Markdown has many dialects, I can't know all of them, so in Expected `Behavior, you should clarify how you expect that callout to look like. It would really help if you can include a screenshot