-
Notifications
You must be signed in to change notification settings - Fork 167
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
page-break control using HTML classes #35
Conversation
I'm going to merge cause I want to use this feature downstream immediately, but revisions welcome. |
This build is based on d08d0bf. This commit was created by the following Travis CI build and job: https://travis-ci.org/greenelab/manubot-rootstock/builds/255655530 https://travis-ci.org/greenelab/manubot-rootstock/jobs/255655531 [ci skip] The full commit message that triggered this build is copied below: page-break control using HTML classes (#35) Refs wkhtmltopdf/wkhtmltopdf#2982 (comment)
This build is based on d08d0bf. This commit was created by the following Travis CI build and job: https://travis-ci.org/greenelab/manubot-rootstock/builds/255655530 https://travis-ci.org/greenelab/manubot-rootstock/jobs/255655531 [ci skip] The full commit message that triggered this build is copied below: page-break control using HTML classes (#35) Refs wkhtmltopdf/wkhtmltopdf#2982 (comment)
Nice feature. What elements are supported? Is it primarily to be used alongside markdown headers? |
Haven't tested it out too extensively, but any HTML element where pandoc accepts the |
For the example manuscript, would it work to add |
That doesn't appear to work, but the following does appear to work: <div class="page_break_after"></div> |
Thanks for testing. We can leave it as is in that case. I think that HTML in the markdown files should be avoided as much as possible. |
Works for both print output and wkhtmltopdf.