alanshaw / alanshaw/markdown-pdf

How to get column-count working in css

Aperta
#197 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
2.9k
Fork
253
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.