bug: LaTeX markup is not hidden when equations are rendered
Maintainer thường phản hồi trong vòng 6 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 65/100
Hướng nghiên cứu
Reproduce the issue in a Markdown buffer using the reported $$ equation and plugin configuration, then trace the LaTeX rendering and conceal handling. Done means the rendered equation remains visible while the raw LaTeX block is hidden, except in insert mode or with anti-conceal enabled.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Neovim version (nvim -v)
0.12.5
Neovim distribution
AstroNvim
Operating system
Arch Linux
Terminal emulator / GUI
WezTerm & Neovide
Describe the bug
LaTeX blocks using $$ are not hidden when the equations are rendered. The rendered equations appear above the raw latex block.
$$
\left[
\begin{matrix}
1 & 3 & 1 \
1 & 2 & -1 \
3 & 11 & 5 \
\end{matrix}
\right]
\left[
\begin{matrix}
x \
y \
z \
\end{matrix}
\right]
{=}
\left[
\begin{matrix}
9 \
1 \
35 \
\end{matrix}
\right]
\longrightarrow
\left[
\begin{matrix}
1 & 3 & 1 \
0 & 1 & 2 \
0 & 0 & 1 \
\end{matrix}
\right]
\left[
\begin{matrix}
x \
y \
z \
\end{matrix}
\right]
{=}
\left[
\begin{matrix}
9 \
8 \
4 \
\end{matrix}
\right]
$$
\left[
\begin{matrix}
1 & 3 & 1 \\
1 & 2 & -1 \\
3 & 11 & 5 \\
\end{matrix}
\right]
\left[
\begin{matrix}
x \\
y \\
z \\
\end{matrix}
\right]
{=}
\left[
\begin{matrix}
9 \\
1 \\
35 \\
\end{matrix}
\right]
\longrightarrow
\left[
\begin{matrix}
1 & 3 & 1 \\
0 & 1 & 2 \\
0 & 0 & 1 \\
\end{matrix}
\right]
\left[
\begin{matrix}
x \\
y \\
z \\
\end{matrix}
\right]
{=}
\left[
\begin{matrix}
9 \\
8 \\
4 \\
\end{matrix}
\right]
Expected behavior
Only the rendered equations should be shown and the markup should be hidden except when in insert mode or anti-conceal.
Healthcheck output
render-markdown: ✅
render-markdown.nvim [versions] ~
- ✅ OK neovim >= 0.11
- ✅ OK tree-sitter ABI: 15
- ✅ OK plugin: 8.14.0
render-markdown.nvim [configuration] ~
- ✅ OK valid
render-markdown.nvim [tree-sitter markdown] ~
- ✅ OK parser: installed
- ✅ OK ABI: 15
- ✅ OK highlights: ~/.local/share/nvim/site/queries/markdown/highlights.scm
- ✅ OK highlighter: enabled
render-markdown.nvim [tree-sitter markdown_inline] ~
- ✅ OK parser: installed
- ✅ OK ABI: 15
- ✅ OK highlights: ~/.local/share/nvim/site/queries/markdown_inline/highlights.scm
render-markdown.nvim [tree-sitter html] ~
- ✅ OK parser: installed
- ✅ OK ABI: 14
render-markdown.nvim [tree-sitter latex] ~
- ✅ OK parser: installed
- ✅ OK ABI: 15
render-markdown.nvim [tree-sitter yaml] ~
- ✅ OK parser: installed
- ✅ OK ABI: 15
render-markdown.nvim [icons] ~
- ✅ OK using: mini.icons
render-markdown.nvim [latex] ~
- ✅ OK using: { "utftex" }
render-markdown.nvim [conflicts] ~
- ✅ OK headlines: not installed
- ✅ OK markview: not installed
- ✅ OK obsidian: not installed
- ✅ OK snacks: installed but should not conflict
Plugin configuration
{
anti_conceal = {
enabled = false
},
completions = {
blink = {
enabled = true
},
lsp = {
enabled = true
}
},
file_types = {
[2] = "quarto"
},
restart_highlighter = true,
win_options = {
concealcursor = {
rendered = "nvic"
}
}
}
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
- Ngôn ngữ chính
- Lua
- Star
- 5.2k
- Fork
- 145
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của MeanderingProgrammer/render-markdown.nvim
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
MeanderingProgrammer/render-markdown.nvim#709 ·
Maintainer thường phản hồi trong vòng 6 ngày
-
bug
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 55/100
MeanderingProgrammer/render-markdown.nvim#706 ·
Maintainer thường phản hồi trong vòng 6 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 38/100
MeanderingProgrammer/render-markdown.nvim#685 ·
Maintainer thường phản hồi trong vòng 6 ngày
-
bug: Tables don't render correctly if the pipe at the end of line is missingCó thể đã có người làm @samholmes đã nhận 95 ngày trước. Đang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
MeanderingProgrammer/render-markdown.nvim#673 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 6 ngày
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
MeanderingProgrammer/render-markdown.nvim#656 ·
Maintainer thường phản hồi trong vòng 6 ngày
Tất cả issue của MeanderingProgrammer/render-markdown.nvim
Issue tương tự
-
bug good first issue ready ticket
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Domktorymysli/vclu#20 ·
-
配置文件的注释没有及时更新Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
amzxyz/rime-wanxiang#1264 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
InauguralSystems/EigenLua#60 ·
Maintainer thường phản hồi trong vòng 1 ngày