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

Is there a plan for table style implementation? #91

Closed
iruletheworld opened this issue Jul 8, 2020 · 2 comments
Closed

Is there a plan for table style implementation? #91

iruletheworld opened this issue Jul 8, 2020 · 2 comments

Comments

@iruletheworld
Copy link

Hi, this is a really great package. I am just wondering if there is any plan to enhance table conversion? I just need the borders to show.

I currently use the trick of 'past as picture' in Word to kinda work around the no border issue. It works ok but the text can be blury and the size of the text in the table often doesn't match the main body.

@mwilliamson
Copy link
Owner

Mammoth is unlikely to support manually applied borders, but could map table styles in the same way as paragraph or run styles. Do you have a minimal example document?

@mwilliamson
Copy link
Owner

I'd apparently forgotten that table styles are already supported, so using table styles in Word, and then mapping those styles to appropriate CSS classes are the best bet.

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

No branches or pull requests

2 participants