Skip to content

Conversation

cscheid
Copy link
Collaborator

@cscheid cscheid commented Oct 10, 2025

Big PR that removes all grid tables from quarto-web, ahead of our moving towards list-tables as the preferred format for complex tables.

Quarto's visual editor will soon switch to preferring list tables as well, which will reduce the main source of grid tables (without any detriment to user experience).

For users that wish to migrate manually, we have a Lua filter to help with these conversions.

We will document all of this to our users as well, but this PR exists simply to reduce our exposure to this feature.

@github-actions github-actions bot temporarily deployed to pull request October 10, 2025 19:27 Inactive
@cscheid
Copy link
Collaborator Author

cscheid commented Oct 10, 2025

The conversion from grid-tables to list-tables is triggering a Pandoc 3.6 reader bug. This is the summary of the situation:

  • Pandoc 3.6 misparses nested lists with code blocks
  • Pandoc 3.7 breaks our Markdown conversion changes for some shortcode situations

We'll have to bump Pandoc to 3.7 (or 3.8?) and accelerate our plan to move to quarto-markdown.

@cscheid
Copy link
Collaborator Author

cscheid commented Oct 10, 2025

input.md

* * ```
    Hello
    ```

  * ```
    Oh no
    ```

pandoc 3.6.3

$ pandoc input.md -t native -f markdown
[ BulletList
    [ [ BulletList
          [ [ Para [ Code ( "" , [] , [] ) "Hello" ] ]
          , [ CodeBlock ( "" , [] , [] ) "  Oh no" ]
          ]
      ]
    ]
]

Note the misparsed first code block as a Para ... Code, and too many spaces on the second code block.

Pandoc 3.7.0.2

$ pandoc input.md -t native -f markdown
[ BulletList
    [ [ BulletList
          [ [ CodeBlock ( "" , [] , [] ) "Hello" ]
          , [ CodeBlock ( "" , [] , [] ) "Oh no" ]
          ]
      ]
    ]
]

@cscheid
Copy link
Collaborator Author

cscheid commented Oct 10, 2025

The following ugly syntax works in 3.6:

* 
  *
    ```
    Hello
    ```

  * 
    ```
    Oh no
    ```

@github-actions github-actions bot temporarily deployed to pull request October 10, 2025 22:01 Inactive
@github-actions github-actions bot temporarily deployed to pull request October 10, 2025 22:34 Inactive
@github-actions github-actions bot temporarily deployed to pull request October 11, 2025 19:41 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant