quarto-dev / quarto-dev/quarto

Simple tables incorrectly rendered in markdown cell output

Open
#702 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
645
Forks
62
Avg merge
17h 42m
Merged PRs (30d)
13

Description

Bug description

Latest versions of the vscode extension cover some pandoc markdown special syntaxes in jupyter notebooks. One exception are simple markdown tables. Given that AFAICS they are not documented in https://quarto.org/docs/authoring/tables.html, perhaps they are not intended to be part of quarto markdown, but this example produces them and they are correctly rendered in the preview panel (not the cell output), so if that were the case the situation is a bit misleading.

Steps to reproduce

Create a notebook, add a markdown cell with:

  Right     Left     Center     Default
-------     ------ ----------   -------
     12     12        12            12
    123     123       123          123
      1     1          1             1

and execute it.

Actual behavior
Image
Expected behavior

A correctly formed table, perhaps not a final rendering as:

Image
Your environment
  • IDE: VSCode 1.99.3 & Positron 2025.04.0
  • macOS Sequoia 15.1
  • Quarto Extension 1.121.0

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the Quarto VSCode extension with the simple-table markdown cell from the report, then compare its cell output with the preview panel. The issue provides no source files or tests; done means the simple table is correctly rendered in cell output, consistent with the expected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
markdown, typescript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.