Closed sjsadowski closed 1 year ago
Hi! Actually, this is a duplicate issue. https://github.com/HollowMan6/mdbook-pdf/discussions/9#discussioncomment-4895678
You can just use the code mentioned to replace the <!-- PAGE_BREAK -->
you used in the markdown files. And just as I mentioned in all the previous issues, pdf generation is dependent on mdbook html generation, if you prefer your method, these can get realized by mdbook directly.
Got it - I searched issues not discussions, sorry for the dupe but thanks for the quick response.
In some cases it makes sense to define where pages should break such as around images so that they are rendered on a single page.
This might be accomplished with
Then in the html a CSS rule could be inserted, something like
and then replacing the PAGE_BREAK instruction with an empty div:
I have been successfully using the plugin otherwise, and am happy to continue doing so - this would just be a quality-of-life improvement.