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

Break page #63

Open
tasseb opened this issue Jan 6, 2025 · 2 comments
Open

Break page #63

tasseb opened this issue Jan 6, 2025 · 2 comments

Comments

@tasseb
Copy link

tasseb commented Jan 6, 2025

Hi, not an issue, but is it possible to add break page code in the mardkown file in order to have a better control on the output ?

@nbanyan
Copy link

nbanyan commented Jan 7, 2025

Use the page-break CSS class to manually insert page breaks.

<div class="page-break"></div>

.page-break {
display: none;
page-break-after: always;
}

References: break-after and break-before.

@FlorianHeigl
Copy link

FlorianHeigl commented Jan 22, 2025

@nbanyan bless you, I had already expected to spend the whole night on those :-) (of course now I have TWO breaks but that is a lot better an issue, likely just the ---- I had initially added. (it was some css in the pdf stylesheet that suddenly started working thanks to your advice. so happy!!! I'll try send a PR this week for the docs.

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

3 participants