Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Rendering of tables #188

Open
nthiery opened this issue Sep 15, 2023 · 0 comments
Open

Rendering of tables #188

nthiery opened this issue Sep 15, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@nthiery
Copy link

nthiery commented Sep 15, 2023

Not sure whether this is intentional or a bug, but reporting just in case :-)

With the new jupyterlab-myst, tables seem to be configured to take the whole
width by default:

image

when in pre javascript jupyterlab-myst 0.1.7a6 they took just the minimal width to
display the content, which, to me, is much more readable:

image

The underlying markdown:

|                                                                   |         |
|-------------------------------------------------------------------|---------|
| <div style="width: 4ex; height: 4ex; background: green;"  ></div> | Curieux |
| <div style="width: 4ex; height: 4ex; background: magenta;"></div> | Énervé  |
| <div style="width: 4ex; height: 4ex; background: yellow;" ></div> | Inquiet |
| <div style="width: 4ex; height: 4ex; background: blue;"   ></div> | Fatigué |

Notes:

  • This can be reproduced with the following minimal example:

    | a   | b   |
    | --- | --- |
    | c   | d   |
    
  • This can be reproduced in the sandbox of mystmd.org.

Cheers

@nthiery nthiery added the enhancement New feature or request label Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant