Skip to content

option to remove version of d2 from rendered contents #2377

@gullerya

Description

@gullerya

Hello and... great tool, thank you!

When used in CI, d2 is installed to render the images.
Images are also committed and become a part of the repo.
Images, as of today, contain the tool version somewhere, so each time the d2 tool version is changed (be it latest or bump on demand, it's CI after all) - all of the images are being changed due to the version change.

Is it possible to exclude d2 version from the generated content?
If no such an option now - possible to add?

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliThis issue is related to the CLI (cmd/d2)good first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions