You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No idea wether this is mdpdf's doing or some other library used by mdpdf, but I stumbled across a page break right after the ## markdown section heading. This is a real document, luck would have it breaks at the markdown section.
First thing I tried is to apply a simple style:
h1,h2,h3,h4,h5,h6 {
page-break-after: avoid;
}
Which worked as intended but of course now I have to copy over mdpdf's default.css and github-markdown-css.css to make the thing look pretty again.
Is there any chance of either adding the CSS that I provided above or adding a cmdline option like --append-style which just adds my css file rather than using it just exclusively.
The text was updated successfully, but these errors were encountered:
No idea wether this is mdpdf's doing or some other library used by mdpdf, but I stumbled across a page break right after the
## markdown
section heading. This is a real document, luck would have it breaks at themarkdown
section.First thing I tried is to apply a simple style:
Which worked as intended but of course now I have to copy over mdpdf's
default.css
andgithub-markdown-css.css
to make the thing look pretty again.Is there any chance of either adding the CSS that I provided above or adding a cmdline option like
--append-style
which just adds my css file rather than using it just exclusively.The text was updated successfully, but these errors were encountered: