MeanderingProgrammer / render-markdown.nvim

Plugin to improve viewing Markdown files in Neovim
MIT License
1.73k stars 38 forks source link

Concealing in the title is not working. #34

Closed xuwei152 closed 5 months ago

xuwei152 commented 5 months ago

The concealing in the title is not working. Clip_2024-06-06_23-40-25

I am using the latest version of the plugin with the default configuration.

MeanderingProgrammer commented 5 months ago

What part of the title should be concealed?

If you look at the latex example gif in the README nothing in latex formulas gets concealed.

xuwei152 commented 5 months ago

I mean "$\Xi^+ K^+K^-$" in "## Study of \$\Xi^+ K^+K^-\$" is not concealed. What I expected looks like the picture below.

Clip_2024-06-07_11-50-39

MeanderingProgrammer commented 5 months ago

Overlaying the evaluated formula is not something I intend to support, especially with highlighting. You can see some more discussion about this here: https://github.com/MeanderingProgrammer/markdown.nvim/issues/6.

The LaTeX support offered by this plugin is pretty minimal and for the foreseeable will involve placing formulas above their source rather than trying to mess with the source directly.