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

vars block is being rendered #131

Open
mjarosie opened this issue Feb 8, 2024 · 2 comments
Open

vars block is being rendered #131

mjarosie opened this issue Feb 8, 2024 · 2 comments
Assignees

Comments

@mjarosie
Copy link

mjarosie commented Feb 8, 2024

D2 extension version: v0.8.8

Given the following D2 block:

vars: {
  d2-config: {
    layout-engine: elk
  }
}

Hello

the vars is being rendered instead of being used for configuration.

image
@BarryNolte
Copy link
Collaborator

BarryNolte commented Feb 8, 2024

I think this is a duplicate of/related to #123, but I'm going to leave this open until I fix the previous bug. Also, please make sure you have the latest d2 executable.

@behniafb
Copy link

behniafb commented Feb 9, 2024

Mine,too.
The vars block doesn't render.

It passes the default configs to the d2 server. And this is bad, because I'm using elk over default dagre, but now I have to use --watch mode, to see the differences correctly side-by-side.
But as the configs of my remote server is low, it takes too long to compile the input.

@BarryNolte BarryNolte self-assigned this Mar 21, 2024
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