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

Pdfcrop #19

Merged
merged 2 commits into from
Nov 30, 2017
Merged

Pdfcrop #19

merged 2 commits into from
Nov 30, 2017

Conversation

bastiedotorg
Copy link
Contributor

Hi,
I have a proposition for more functionality, but it will bring an additional dependency.

With this patch, you can use the mermaid_pdfcrop directive to use the pdfcrop utility on linux systems.
It will crop the pdf output of mermaid to the useful area so that an image that is not the default width/height doesn't take up too much space.

BR Bastian

@mgaitan mgaitan merged commit 20c6831 into mgaitan:master Nov 30, 2017
@mgaitan mgaitan mentioned this pull request Nov 30, 2017
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

Successfully merging this pull request may close these issues.

2 participants