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

How to get column-count working in css #197

Open
darkmattercoder opened this issue Nov 12, 2020 · 0 comments
Open

How to get column-count working in css #197

darkmattercoder opened this issue Nov 12, 2020 · 0 comments

Comments

@darkmattercoder
Copy link

darkmattercoder commented Nov 12, 2020

Hi, I added the following to my css file:

table{
border-collapse:collapse;
margin-bottom:calc(2em + 2vw);
clear:both;
font-size:10pt;
column-width: 200px;
column-count:3;
}

I expect that the table gets split into three columns in the resulting pdf. I confirmed that the style itself works by applying it in the exact same table when rendered on Github.

But in the resulting PDF that markdown-pdf produces, the tables stays in one column only. What am I doing wrong?

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

1 participant