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

markdown: auto format tables #1551

Closed
Tapsi opened this issue Jan 1, 2022 · 3 comments
Closed

markdown: auto format tables #1551

Tapsi opened this issue Jan 1, 2022 · 3 comments

Comments

@Tapsi
Copy link

Tapsi commented Jan 1, 2022

Description

As a user I want my tables to be automatically formatted. As result it will be more readable in edit mode.

E.g.

A | B
Long Text | Also long

Will be converted to

A         | B
Long Text | Also long
@gsantner
Copy link
Owner

gsantner commented Jan 1, 2022

tables on mobile generally are a bit troublesome. width is limited, and unless you make tables with one word on 2 columns...you are out of space.

might be a unpopular opinion, but do minimum space. you at least get some columns to fit in same line (/ same screen with hscroll)

@gsantner gsantner changed the title Feature Request: auto format tables markdown: auto format tables Jan 22, 2022
@dcdom2
Copy link

dcdom2 commented Nov 26, 2023

Can this be implemented without the auto part (i.e. user-initiated reformatting)? Many tables are narrow enough even for mobile and without constant reformatting, they are difficult to work with.

Thanks

@gsantner
Copy link
Owner

gsantner commented Dec 3, 2023

Can this be implemented without the auto part (i.e. user-initiated reformatting)? Many tables are narrow enough even for mobile and without constant reformatting, they are difficult to work with.

Working with tables on small deviceds unfortunatley is not easy. But if you find a solution, please implement it and make a merge request. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants