Skip to content

Table rendering differently in local preview and merged doc preview #550

Closed as duplicate

Description

@karenzone

Describe the bug

Table wasn't wrapping properly in merged docs preview.
I made some changes and it rendered correctly in my local preview (docsbuilder install dated 2-13), and [I believe] in the PR preview.

Local preview

Image

After PR was merged, the table still isn't rendering properly.

Merged preview

Image

Proper table formatting in MD?

Maybe I still didn't get the table formatting right. Do I need to approximate column width in raw MD?
Reference: https://elastic.github.io/docs-builder/syntax/tables/#github-flavored-markdown-gfm-table.
Adding a second, more complex example would be helpful.

Expected behavior

The local and general previews should align.

Steps to reproduce

No response

Tooling

  • docs-builder
  • migration tooling
  • I'm not sure

Activity

  1. bmorelli25 commented on Feb 20, 2025

    @bmorelli25
    Member

    This is happening because your local docs-builder version is older than the docs-builder version we're using to build the preview sites. The older version had table formatting. We're still missing table formatting in the new design. tl;dr this will be fixed soon.

    Closing as a duplicate of #534.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions