Skip to content

Determine pipeTable column widths from the numbers of dashes #599

@Witiko

Description

@Witiko

Discussed in #596

Originally posted by elsewhat-eq November 14, 2025
Currently, markdown tables are rendered with equal wide columns.

For some tables, I want to adjust the relative width of the columns for readability.
Is there a way of achieving this with markdown latex ?

Example table

| Tool Name | Tool Description |
|-----------|-----------|
| `get relevant  documents` | Get relevant documents to be used as context when constructing a knowledge graph. These document are specific to the business domain and contain important terminology and concepts to be used when constructing the knowledge graph |
| `get terminology list` | Get specific terminology and abbreviations to be used as context when constructing a knowledge graph. Use this to help understand terms and abbreviation encountered in the data |

: My table caption {width=0.9\columnwidth}

In 2021 , it was mentioned in #115 (comment)
"Another software package, Pandoc, allows you to specify the width of a column with the number of dashes below the header (for example, | --- | - | - | - | says that the first column gets half the width). There is no such support in Markdown at the moment, because it is not clear to me whether this is more benetifial than it is confusing to the end user. I may rethink this in the future."

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestluaRelated to the Lua interface and implementationsyntax extensionRelated to syntax extensions and dialects of markdown

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions