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

Add --css CLI option #27

Closed
danburzo opened this issue Oct 12, 2018 · 2 comments
Closed

Add --css CLI option #27

danburzo opened this issue Oct 12, 2018 · 2 comments
Assignees
Labels
Feature New feature or enhancement

Comments

@danburzo
Copy link
Owner

Add a --css CLI option to allow sending short style snippets from the CLI directly, without having to use a custom HTML/CSS file. For example, changing the page size:

percollate --output some.pdf --css "@page { size: A4; }" http://example.com

The CSS will be appended to the stylesheet.

@danburzo danburzo added the Feature New feature or enhancement label Oct 12, 2018
@danburzo danburzo self-assigned this Oct 12, 2018
@Proful
Copy link

Proful commented Oct 12, 2018

This option will be cool

@danburzo
Copy link
Owner Author

Implemented in percollate@0.2.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants