Open albertored11 opened 1 year ago
When I try to find a solution playgraund resolved myvar to myvalue :) is it a bug ?
vars: {
myvar: myvalue
}
mybox1: |md
myvar has value ${myvar}
|
mybox2: myvar has value ${myvar}
after compile
vars: {
myvar: myvalue
}
mybox1: |md
myvar has value ${myvar}
|
mybox2: myvar has value myvalue
For me is not working, same result locally than in the d2-studio-playground
It would be great to be able to reference variables inside markdown text blocks and have D2 automatically substitute them.
For example, compiling the following D2 code
produces this output:
but with the variable substitution feature, we would get this one instead: