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

cli: add pad option #431

Merged
merged 1 commit into from
Dec 12, 2022
Merged

cli: add pad option #431

merged 1 commit into from
Dec 12, 2022

Conversation

alixander
Copy link
Collaborator

i've been sneakily adjusting padding for myself to generate d2lang.com images. time to make this generally available.

Default padding vs --pad=0:

Screen Shot 2022-12-11 at 11 30 49 PM

Screen Shot 2022-12-11 at 11 26 47 PM

Screen Shot 2022-12-11 at 11 26 39 PM

closes #14

@alixander alixander requested a review from nhooyr December 12, 2022 07:33
@alixander alixander force-pushed the pad branch 2 times, most recently from b1636b1 to 9cd35ab Compare December 12, 2022 07:37
@alixander alixander merged commit a557d1a into terrastruct:master Dec 12, 2022
@alixander alixander deleted the pad branch December 12, 2022 07:44
@lucasjinreal
Copy link

@alixander Hello, this looks pad on whole rending graph, is there a way to change padding of each box from the text label inside?

Copy link
Contributor

@nhooyr nhooyr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

whitespace padding should be configurable
3 participants