Closed bassamsdata closed 1 week ago
I think I know what's going on here.
This plugin assumes default conceal behavior in markdown files. Currently the heading prefix ###
, is not concealed by default.
Do you have any custom highlights that set conceal on atx_h1_marker
etc.?
Thank you for the response, and yes, you’re right. There was some highlighting related to atx_h1_marker
as shown in the Inspect command image below:
After debugging, I discovered the issue was due to enabling regex highlights in Markdown files via Tree-sitter with additional_vim_regex_highlighting = { "markdown" },
. What struck me was that the issue didn't appear in Markdown files, only in Quarto files.
Thank you again for your reply; the issue is now resolved.
Strange, it does seem like this should also have been an issue on markdown files.
Will work on handling these cases better in general, assuming concealing behavior is going to lead to inconsistencies, though I'm not sure of a better way to handle it at the moment.
Glad it's working now!
I did push a fix for this here https://github.com/MeanderingProgrammer/markdown.nvim/commit/5ce35662725b1024c6dddc8d0bc03befc5abc878, if you want to re-enable the concealing behavior and are using neovim >= 0.10.0
.
Neovim version (nvim -v)
0.10.0
Operating system
MacOS
Terminal emulator / GUI
WezTerm
Describe the bug
Headlines don't appear correctly in Quarto files (.qmd). The more nested the headlines are, the more letters are hidden from the beginning of the line. The video below illustrates the issue clearly.
Expected behavior
show the headlines correctly.
to reproduce:
touch testQuarto.qmd
Create a chart for clubs
chart to look for best and worst seasons based on points, gF, gA, xgF, xgA
Load libraries
Load libraries
Thank you