Repository navigation
Closed as not planned
Labels
ai-triagedIssue received an initial assessment through AI-powered current code and architecture checks.ai:ux-questionAI triage raised a UX / frontend question for a human to decide.ai:writer-questionAI triage raised a question about authoring/writing workflow.closed-staleenhancementneeds triagestale
Description
Prerequisites
- I have searched existing issues to ensure this feature hasn't already been requested
- I have tested using the latest version of docs-builder
What problem are you trying to solve?
Tables and definition lists don't seem ideal when trying to render lists of settings. We would need something that mixes the convenience of tabular design with an approach that allow us to define lists à la MyST list-table directives or through YAML.
Proposed Solution
A directive that allows us to render a table from a list, like this:
:::{list-table} Frozen Delights!
:widths: 15 10 30
:header-rows: 1
* - Treat
- Quantity
- Description
* - Albatross
- 2.99
- On a stick!
* - Crunchy Frog
- 1.49
- If we took the bones out, it wouldn't be
crunchy, now would it?
* - Gannet Ripple
- 1.99
- On a stick!
:::
Examples and Research
No response
Alternative Solutions
No response
Additional Context
- Stripe tables: https://docs.stripe.com/revenue-recognition/revenue-settings#amortization-granularity
- List tables: https://myst-parser.readthedocs.io/en/latest/syntax/tables.html#list-tables
How important is this feature to you?
Important
Reacted by Edu González de la Herrán
Reacted by Nastasha Solomon
Metadata
Metadata
Assignees
Labels
ai-triagedIssue received an initial assessment through AI-powered current code and architecture checks.ai:ux-questionAI triage raised a UX / frontend question for a human to decide.ai:writer-questionAI triage raised a question about authoring/writing workflow.closed-staleenhancementneeds triagestale
Activity
cotti commentedon Jun 3, 2026
AI triage
Automated investigation against the current codebase. A human still needs to confirm before any code change.
Original concern
Provide a
{list-table}directive (MyST-style) so authors can build tables from a nested bullet list — with:widths:and:header-rows:— instead of pipe tables or definition lists, which are awkward for lists of settings.Findings
src/Elastic.Markdown/Myst/Directives/DirectiveBlockParser.cs:56—list-tableis explicitly registered in theUnsupportedBlocksmap ({ "list-table", 17 }), so it is not implemented. Authoring:::{list-table}constructs anUnsupportedDirectiveBlockrather than a real table block.src/Elastic.Markdown/Myst/Directives/UnsupportedDirectiveBlock.cs:14-17— that block emits the warningDirective block 'list-table' is unsupported. See https://github.com/elastic/docs-builder/issues/17 for more information.(Note: list-table directive #17 is closed — see below.)src/Elastic.Markdown/Myst/Directives/Table/TableDirectiveBlock.cs:57-90— the existing{table}directive (registered atDirectiveBlockParser.cs:174) is only a wrapper around a pipe table for 12-unit-grid column widths;ValidateTableColumnCounterrors out unless the body contains exactly one pipe table. It does not accept a bullet list, so it does not satisfy this request.src/Elastic.Markdown/Myst/Directives/CsvInclude/({csv-include}, registered atDirectiveBlockParser.cs:129) — the closest existing "data → table" mechanism, but it reads from an external CSV file rather than inline list syntax.csv-tableis likewise unsupported (DirectiveBlockParser.cs:75).ListTableBlock/list-table renderer exists anywhere in the tree; the only occurrence of the string is the unsupported-list entry above.git log -S "list-table"shows it was only ever added to the unsupported list (PR Add infrastructure and diagnostics for unsupported directives #57), never implemented.Verdict
Needs stakeholder input
The feature is not implemented —
list-tableis an explicitly unsupported directive that warns at build time. Adding it means a new author-facing directive (parse the nested-list body,:widths:,:header-rows:, optional caption/:align:) plus new reader-visible table HTML, so it fails the quick-fix bar (new syntax + new rendered output). The MyST spec is well-defined, so the open questions are mostly about whether to adopt it and how it should look/behave rather than feasibility.Proposal
Open questions, grouped by audience:
ai:writer-question): Should we mirror the full MySTlist-tableoption set (widths,header-rows,align,class, caption/label), or a reduced subset? Should:widths:reuse the existing{table}12-unit-grid convention (TableDirectiveBlock) for consistency, or follow MyST's relative-integer widths? Is the goal specifically "lists of settings" (which might instead be served by the existing{settings}directive) or general-purpose tables?ai:ux-question): Shouldlist-tableoutput share styling with pipe tables / the{table}wrapper (and the requested "Stripe-style" striping), or get distinct treatment? Accessibility expectations for generated headers?If accepted, the implementation lands in
src/Elastic.Markdown/Myst/Directives/(a newListTableBlock+ view model/template, removing theUnsupportedBlocksentry) with authoring tests undertests/authoring/, and docs under/docs/.Related issues
Notes
list-tablelinks to list-table directive #17, which is closed — confusing for writers who follow it. Either reopen list-table directive #17 or repoint the warning at an open tracking issue.github-actions commentedon Sep 5, 2026
This issue is stale because it has been open 90 days with no activity. Remove the
stalelabel, or leave a comment, or this will be closed in 14 days.