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

bug: Tables don't render correctly if the pipe at the end of line is missing

Abierto
#673 2 comentarios 0 reacciones 0 asignados Ver en GitHub

@samholmes ya está trabajando en esto.

Desde el 11/7/2026.

  • #675 de @samholmes — abierto

Evaluación

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

Línea de trabajo

Reproduce el problema en Neovim usando la tabla Markdown mostrada en el informe y la configuración pipe_table proporcionada; después, rastrea cómo el plugin reconoce las tablas sin un pipe final. Se considera terminado cuando el ejemplo se renderiza correctamente y se conserva el comportamiento existente de las tablas; añade o ejecuta una prueba de regresión específica si el proyecto tiene una.

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

Descripción

bug
Neovim version (nvim -v)

0.12.2

Neovim distribution

LazyVIM

Operating system

Linux (Arch, btw)

Terminal emulator / GUI

Alacritty

Describe the bug

Tables are not rendered correctly if the trailing pipe is omitted.
From GitHub-flawored markdown spec (common mark doesn't have tables):

A leading and trailing pipe is also recommended for clarity of reading, and if there’s otherwise parsing ambiguity.

Recommended - not required.

I usually omit the trailing pipes - the tables look ok in plain text without inserting dozens of empty spaces to align the right border.

Table like this should be valid and render correctly.
It looks good in plain text, without a need to insert dozens of spaces

| state  | dscription
|--------|---
| open   | port is accessible, and service is listening
| closed | port is accessible, but no service is listening
Expected behavior

Tables without a trailing pipe should be rendered correctly.

Healthcheck output
==============================================================================
render-markdown:                                                          3 ⚠️

render-markdown.nvim [versions] ~
- ✅ OK neovim >= 0.11
- ✅ OK tree-sitter ABI: 15
- ✅ OK plugin: 8.13.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] ~
- ⚠️ WARNING parser: not installed
  - ADVICE:
    - disable latex support to avoid this warning
      require("render-markdown").setup({
          latex = { enabled = false },
      })
- ⚠️ WARNING ABI: unknown
  - ADVICE:
    - disable latex support to avoid this warning
      require("render-markdown").setup({
          latex = { enabled = false },
      })

render-markdown.nvim [tree-sitter yaml] ~
- ✅ OK parser: installed
- ✅ OK ABI: 15

render-markdown.nvim [icons] ~
- ✅ OK using: mini.icons

render-markdown.nvim [latex] ~
- ⚠️ WARNING none installed: { "utftex", "latex2text" }
  - ADVICE:
    - disable latex support to avoid this warning
      require("render-markdown").setup({
          latex = { enabled = false },
      })

render-markdown.nvim [conflicts] ~
- ✅ OK headlines: not installed
- ✅ OK markview: not installed
- ✅ OK obsidian: not installed
Plugin configuration
config {
  checkbox = {
    bullet = true,
    checked = {
      icon = ""
    },
    custom = {
      todo = {
        rendered = ""
      }
    },
    unchecked = {
      icon = ""
    }
  },
  code = {
    border = "thin",
    right_pad = 1,
    width = "block"
  },
  file_types = {
    [2] = "norg",
    [3] = "rmd",
    [4] = "org",
    [5] = "codecompanion"
  },
  heading = {
    icons = { vim.NIL, vim.NIL, vim.NIL, vim.NIL, vim.NIL, vim.NIL }
  },
  pipe_table = {
    border_enabled = false
  }
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.1k
Forks
144
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.