Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Closed
1 of 3 tasks
karenzone opened this issue Feb 19, 2025 · 1 comment
Closed
1 of 3 tasks

Comments

@karenzone
Copy link

karenzone commented Feb 19, 2025

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
@bmorelli25
Copy link
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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants