You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ai-triagedIssue received an initial assessment through AI-powered current code and architecture checks.ai:product-questionAI triage raised a question about product scope / offering.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.authoringRelates to our markdown parserquestionFurther information is requested
Added your table suggestion to #160. I'm going to keep this issue open for now as there are likely some edge cases with tables that we won't see until the bug bash.
If it's going to be equally poor in the new system, IMO we ought to confirm what's the recommended table behavior in the new system (maximum rows or columns, support for spanning, etc) then clean these up during our migration (or pre-migration if we have advice by then). Off the cuff, for this particular table we could split it into multiple smaller tables or worst case just summarize it as a list instead of a table. Generally moving toward simplicity and smaller bites of info seems like the right path for this stuff.
I'm seeing a couple issue with tables, but probably the most concerning is when an AsciiDoc table contains cells that contain multiple block elements. I don't necessarily think we should support this in docs-builder, but we should definitely have a plan for handling these situations because it's a pretty common pattern across docs, and it makes content very difficult to read.
To get a sense of the scope of this issue, you can search some AsciiDoc docs for (^| )a\| (though that probably won't capture all of the cells). Here's what I got when I checked a few repos:
elastic/elasticsearch: 10 mentions in 4 files
elastic/kibana: 102 mentions in 12 files
elastic/observability-docs: 211 mentions in 29 files
If we want writers to simplify tables and/or un-table-ify content in complex tables more broadly, we can use this regular expression to capture more formatted cells in AsciiDoc files: ( |^)((\d+)|(\.\d+)|(\+|\*)|([\^\.<>]+)|(a|d|e|h|l|m|s))+\|. This should catch spanning columns/rows, duplicating cells, and formatting cells.
Automated investigation against the current codebase. A human still needs to confirm before any code change.
Original concern
Discussion thread covering table syntax in MyST Markdown — the {table} directive wrapper, GFM pipe tables, complex multi-block-cell tables migrated from AsciiDoc, and "supercharged" table UX (filtering/searching big tables).
Findings
The basic table story is shipped. src/Elastic.Markdown/Myst/Directives/Table/TableDirectiveBlock.cs:16-122 implements the {table} directive with a 12-unit grid widths system (auto, description, dash-separated like 4-8/4-4-4), validates column counts, and wraps Markdig's pipe-table parser. Plain GFM pipe tables also render directly. Tests live at tests/Elastic.Markdown.Tests/Directives/TableDirectiveTests.cs. Shipped via PR #2852 (commit 05f168a5, 2026-03-13).
list-table and csv-table are explicitly unsupported with diagnostic IDs 17 and 33 respectively: src/Elastic.Markdown/Myst/Directives/DirectiveBlockParser.cs:56,75. The "unsupported directive" infrastructure that enforces this decision landed in PR #57 (commit 53fd0b29, 2024-11-12). Sister issues list-table directive #17 and versionadded directive #33 were both closed in Nov 2024 — the decision to not support them appears settled.
The {table} directive issue (table directive #23) was closed 2025-05-19. The "supercharged tables" discussion Supercharged Tables #484 was redirected back into this issue on the same day by the OP, so this issue has become the single open landing pad for all remaining table conversation.
@Mpdreamz's {code-table} data-driven-table idea from 2024-12-17 has not been picked up in code. No code-table directive exists.
@colleenmcginnis's multi-block-cell concern (AsciiDoc cells containing admonitions, lists, code) is real — the current pipe-table renderer cannot represent this, and the migration tooling has nowhere to put the content. Sister issue [Meta] Migration tooling bugs #160 (the migration-bugs meta) closed 2025-02-05, leaving this open as the only home for the concern.
@lcawl's big-table UX concern (e.g. the CCS compatibility matrix) is the same problem space as discussion Supercharged Tables #484. No filtering/search UI exists on tables today; src/Elastic.Documentation.Site/Assets/web-components/ has no table-focused component.
Verdict
Partially done
The MVP table support and the explicit "no list-table/csv-table" decision both shipped. What is still open is a small bag of separate, larger questions that share only the word "tables":
The {code-table} data-driven idea (product question, would be a new directive).
Each is worth its own narrowly-scoped issue. Keeping them under a single [Discuss] umbrella has not been productive — the thread has gone quiet for stretches and the linked discussions keep pointing back here.
Proposal
Open questions, grouped by audience:
Writer
Multi-block-cell tables (admonitions / lists / code inside one cell): is the agreed policy "writers must un-table-ify these during migration", or do we need a docs-builder mechanism (e.g. a fallback rendering, or accepted Markdown-in-cell syntax) before migration can proceed? Concrete counts: ~10 in elasticsearch, ~102 in kibana, ~211 in observability-docs (per @colleenmcginnis 2025-01-17).
Is there a recommended max-rows / max-cols guideline writers should follow? If yes, write it down in /docs/.
UX / Product
Should docs-builder ever render a "supercharged" table (sortable, filterable, copy-friendly), or is that left to per-page custom embeds (Vega / iframes)? Pick a direction so Supercharged Tables #484 can be closed or moved.
Do we want {code-table} (data-driven tables from YAML/JSON in the repo) as a first-class directive? If yes, a separate issue + design; if no, close that part of the discussion explicitly.
Engineering
None blocking. Implementation paths exist for all three sub-questions once product/UX picks a direction.
Related issues
This issue is the umbrella of a broader table-rendering cluster that has accumulated since it was filed:
Several of these line up cleanly with the sub-questions in the Proposal above (#508/multi-block cells, #1570+#3376/big-table UX, #2734/data-driven rendering). A maintainer may want to add a cluster:tables label (or similar) across this set so the next pass is a coordinated design rather than another one-off.
Notes
Suggested follow-ups (do not auto-create — confirm with maintainers first):
A scoped issue: "Decide policy for migrating AsciiDoc multi-block-cell tables".
I think there is still a need here. This topic has come up in Slack a few times over the last year. While nothing is blocking, there is a desire to support more complex tables (and not need to use definition lists for everything).
ai-triagedIssue received an initial assessment through AI-powered current code and architecture checks.ai:product-questionAI triage raised a question about product scope / offering.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.authoringRelates to our markdown parserquestionFurther information is requested
Activity
Mpdreamz commentedon Dec 17, 2024
We support this table syntax but also just the regular GitHub flavored style which would be a bit cleaner in this case?
e.g just:
They would render better on Github too.
Sidenote: I personally dread creating tables in markdown even when my editor helps me so i'd still like a specialized syntax for this e.g
and maybe revisit #17
bmorelli25 commentedon Jan 10, 2025
Added your table suggestion to #160. I'm going to keep this issue open for now as there are likely some edge cases with tables that we won't see until the bug bash.
[-][Migration tooling] Tables[/-][+][Discuss] Tables[/+]lcawl commentedon Jan 16, 2025
I think you're already aware of this one, but the table in https://www.elastic.co/guide/en/elasticsearch/reference/8.17/modules-cross-cluster-search.html#ccs-supported-configurations was brought up as one that has a poor user experience in the old system. It's sourced from https://github.com/elastic/elasticsearch/blob/8.17/docs/reference/search/search-your-data/ccs-version-compat-matrix.asciidoc
If it's going to be equally poor in the new system, IMO we ought to confirm what's the recommended table behavior in the new system (maximum rows or columns, support for spanning, etc) then clean these up during our migration (or pre-migration if we have advice by then). Off the cuff, for this particular table we could split it into multiple smaller tables or worst case just summarize it as a list instead of a table. Generally moving toward simplicity and smaller bites of info seems like the right path for this stuff.
colleenmcginnis commentedon Jan 17, 2025
I'm seeing a couple issue with tables, but probably the most concerning is when an AsciiDoc table contains cells that contain multiple block elements. I don't necessarily think we should support this in docs-builder, but we should definitely have a plan for handling these situations because it's a pretty common pattern across docs, and it makes content very difficult to read.
Example: Cells containing admonitions
Link
Link
To get a sense of the scope of this issue, you can search some AsciiDoc docs for
(^| )a\|(though that probably won't capture all of the cells). Here's what I got when I checked a few repos:If we want writers to simplify tables and/or un-table-ify content in complex tables more broadly, we can use this regular expression to capture more formatted cells in AsciiDoc files:
( |^)((\d+)|(\.\d+)|(\+|\*)|([\^\.<>]+)|(a|d|e|h|l|m|s))+\|. This should catch spanning columns/rows, duplicating cells, and formatting cells.Remove complex tables (#207911)
theletterf commentedon Apr 14, 2025
Is #23 related?
KOTungseth commentedon May 19, 2025
Discussion: #484
cotti commentedon May 26, 2026
AI triage
Automated investigation against the current codebase. A human still needs to confirm before any code change.
Original concern
Discussion thread covering table syntax in MyST Markdown — the
{table}directive wrapper, GFM pipe tables, complex multi-block-cell tables migrated from AsciiDoc, and "supercharged" table UX (filtering/searching big tables).Findings
src/Elastic.Markdown/Myst/Directives/Table/TableDirectiveBlock.cs:16-122implements the{table}directive with a 12-unit gridwidthssystem (auto,description, dash-separated like4-8/4-4-4), validates column counts, and wraps Markdig's pipe-table parser. Plain GFM pipe tables also render directly. Tests live attests/Elastic.Markdown.Tests/Directives/TableDirectiveTests.cs. Shipped via PR #2852 (commit05f168a5, 2026-03-13).list-tableandcsv-tableare explicitly unsupported with diagnostic IDs17and33respectively:src/Elastic.Markdown/Myst/Directives/DirectiveBlockParser.cs:56,75. The "unsupported directive" infrastructure that enforces this decision landed in PR #57 (commit53fd0b29, 2024-11-12). Sister issues list-table directive #17 and versionadded directive #33 were both closed in Nov 2024 — the decision to not support them appears settled.{table}directive issue (table directive #23) was closed 2025-05-19. The "supercharged tables" discussion Supercharged Tables #484 was redirected back into this issue on the same day by the OP, so this issue has become the single open landing pad for all remaining table conversation.{code-table}data-driven-table idea from 2024-12-17 has not been picked up in code. Nocode-tabledirective exists.src/Elastic.Documentation.Site/Assets/web-components/has no table-focused component.Verdict
Partially done
The MVP table support and the explicit "no list-table/csv-table" decision both shipped. What is still open is a small bag of separate, larger questions that share only the word "tables":
{code-table}data-driven idea (product question, would be a new directive).Each is worth its own narrowly-scoped issue. Keeping them under a single
[Discuss]umbrella has not been productive — the thread has gone quiet for stretches and the linked discussions keep pointing back here.Proposal
Open questions, grouped by audience:
Writer
/docs/.UX / Product
docs-builderever render a "supercharged" table (sortable, filterable, copy-friendly), or is that left to per-page custom embeds (Vega / iframes)? Pick a direction so Supercharged Tables #484 can be closed or moved.{code-table}(data-driven tables from YAML/JSON in the repo) as a first-class directive? If yes, a separate issue + design; if no, close that part of the discussion explicitly.Engineering
Related issues
This issue is the umbrella of a broader table-rendering cluster that has accumulated since it was filed:
Several of these line up cleanly with the sub-questions in the Proposal above (
#508/multi-block cells,#1570+#3376/big-table UX,#2734/data-driven rendering). A maintainer may want to add acluster:tableslabel (or similar) across this set so the next pass is a coordinated design rather than another one-off.Notes
Suggested follow-ups (do not auto-create — confirm with maintainers first):
{code-table}data-driven table directive".Once those exist, this
[Discuss]umbrella can be closed.bmorelli25 commentedon May 28, 2026
I think there is still a need here. This topic has come up in Slack a few times over the last year. While nothing is blocking, there is a desire to support more complex tables (and not need to use definition lists for everything).
github-actions commentedon Aug 29, 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.