orzih / mkdocs-with-pdf

Generate a single PDF file from MkDocs repository.
MIT License
332 stars 77 forks source link

Horizontal line is not displayed in PDF #13

Closed JanoschDeurer closed 4 years ago

JanoschDeurer commented 4 years ago

I'm using material for Mkdocs. In markdown a horizontal line can be added with the following code:

---

it looks like this


this is not rendered in the PDF.

orzih commented 4 years ago

Please check your css such as css/pdf-print.css. and remove or modify hr entry:

@media print {
    hr {
        display: none;
    }
}
MalkmusT commented 4 years ago

Many thanks @orzih, with your hint we were able to resolve this problem.

JanoschDeurer commented 4 years ago

Hey @orzih, sorry that it took me so long to answer, I was on vacation. Thanks for the fast response, as my colleague wrote he was able to resolve the problem with you hint :)