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

Gant PNG margin #486

Closed
7ynk3r opened this issue Mar 8, 2017 · 2 comments
Closed

Gant PNG margin #486

7ynk3r opened this issue Mar 8, 2017 · 2 comments

Comments

@7ynk3r
Copy link

7ynk3r commented Mar 8, 2017

Hi there!

I'm using the following markdown

gantt
    dateFormat  YYYY-MM-DD
    title Interactions & Actions

    section Responses
    init       :a1, 2010-01-01, 5ss
    request data       :a2, after a1, 10ss
    render     :a3, after a2, 3ss

    section Dashboards
    init       :d1, 2010-01-01, 2ss
    request data1       :d2, after d1, 7ss
    request data2       :d3, after d1, 9ss
    render     :d4, after d3, 4ss
    sumit     :d5, after d4, 1ss

    section Zaraza
    init       :d1, 2010-01-01, 2ss
    request data1       :d2, after d1, 7ss
    request data2       :d3, after d1, 9ss
    render     :d4, after d3, 4ss
    sumit     :d5, after d4, 1ss

and generating a PNG using (nothing special)

mermaid ./assets/*.mmd -p -o ./assets

The result is the following
arc_instrumentation_interactions_actions mmd

You can notice a lot of white space in the sides.

Am I missing some configuration? Is there any workaround?

BTW, I love mermaid!

Thanks!
JM

@LasseJacobs
Copy link

I have the same issue, very annoying. I can find a solution anywhere...

@tylerlong
Copy link
Collaborator

Try the latest command line tool https://github.com/mermaidjs/mermaid.cli

And create a new issue if it doesn't work.

mgenereu pushed a commit to mgenereu/mermaid that referenced this issue Jun 25, 2022
* chore(deps): bump monaco-editor from 0.29.1 to 0.30.0

Bumps [monaco-editor](https://github.com/microsoft/monaco-editor) from 0.29.1 to 0.30.0.
- [Release notes](https://github.com/microsoft/monaco-editor/releases)
- [Changelog](https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md)
- [Commits](microsoft/monaco-editor@v0.29.1...v0.30.0)

---
updated-dependencies:
- dependency-name: monaco-editor
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
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