d2-vscode
d2-vscode copied to clipboard
Add buttons to "fit to height" and "fit to width" in D2 Preview
I am creating quite long or large diagrams and fit to window is pretty useless in those situations and resizing by hand is a hassle. I think adding buttons to fit to height or width would solve this problem. I don't mind raising a PR but would like to get some prior consent.