Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

bug: LaTeX markup is not hidden when equations are rendered

Cerrado
#695 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 6 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
65/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
lua, neovim
Área
tooling

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug
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.

Image

$$
\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

Lenguaje dominante
Lua
Estrellas
5.2k
Forks
145
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de MeanderingProgrammer/render-markdown.nvim

Todos los issues de MeanderingProgrammer/render-markdown.nvim

Issues similares

Más issues de Lua

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.