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

Export One Page Pdf [ Disable Page Break ] #2630

Closed
NothingFaceX opened this issue Jul 5, 2019 · 2 comments
Closed

Export One Page Pdf [ Disable Page Break ] #2630

NothingFaceX opened this issue Jul 5, 2019 · 2 comments

Comments

@NothingFaceX
Copy link

Hi , How can I export my article in just one page pdf like html ?
I tried to use :

{
  * {
    page-break-before: avoid !important;
	page-break-inside : avoid !important;
	page-break-after  : avoid !important;
  }
}```

But no change ....

Is it possible ?
@chirsz-ever
Copy link

The editor will transform your css code to

break-before: avoid-page !important;
break-inside : avoid-page !important;
break-after  : avoid-page !important;

You could learn these properties here.
But these properties is not supported well by chrome, so these code don't work.
I think it possiblely a sick design of pandoc.

@abnerlee
Copy link
Contributor

merge into #998

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