jupyter-book / mystmd

Command line tools for working with MyST Markdown.
https://mystmd.org/guide
MIT License
206 stars 61 forks source link

`list-table` directive : `stub-columns` and `width` options not recognized #1469

Open parmentelat opened 2 months ago

parmentelat commented 2 months ago

Description

the myst documentation here https://myst-parser.readthedocs.io/en/latest/syntax/tables.html#list-tables states that a list-table can have among others the following options

but when trying to use them, with myst 1.3.4 I get messages like

⚠️  0-00-presentation-ue12-ue22-nb.md:108 unexpected option "stub-columns" provided for directive: list-table
⚠️  0-00-presentation-ue12-ue22-nb.md:110 unexpected option "width" provided for directive: list-table

and the options are unsurprisingly ignored

Proposed solution

implement the syntax as defined in the myst documentation

Additional notes