- Use
Basic Print Support
Anki addon. - Print to HTML
- Apply CSS
- Print to PDF
This CSS adds card number and forces page break after each card.
tr:not(.fble_htr) { | |
counter-increment: rowNumber; | |
} | |
tr:not(.fble_htr) td:first-child::before { | |
content: counter(rowNumber); | |
min-width: 1em; | |
margin-right: 0.5em; | |
} | |
table { page-break-inside:auto !important } | |
tr { display: block; page-break-inside:avoid !important; page-break-after:always !important } |