Skip to content

Custom arguments to d2 compiler #40

@onsah

Description

@onsah

Hi, first of all thanks for this great plugin and diagram tool!

I am using this plugin in my notebook and I am trying to center the diagram generated instead of left aligning. I found that there is a --center flag for this in the compiler, but the plugin doesn't provide a way to pass arguments to the compiler. Would it be possible to allow users to pass arguments? Thank you.
Screenshot 2023-10-29 at 1 54 07 PM
I would like this to be centered intead of being left aligned.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions