d2-vscode icon indicating copy to clipboard operation
d2-vscode copied to clipboard

d2 diagram not rendering in vscode markdown preview

Open cattoysx opened this issue 1 year ago • 2 comments

d2 and d2 extension installed Screenshot 2024-09-06 145028

cattoysx avatar Sep 06 '24 07:09 cattoysx

That's one of the solutions. https://github.com/terrastruct/d2-vscode/issues/149

aka-phrankie avatar Sep 28 '24 10:09 aka-phrankie

setting the absolute path to D2 fixes the rendering, however, if one uses TALA it does not find D2 because it is looking for D2 in the working directory not the PATH neither system PATH

I'd very much appreciate a fix for either issue, this is blocking for many users depending on vscode and such

JLT032 avatar Dec 14 '24 21:12 JLT032

i'm seeing this too. setting the absolute path does not resolve it for me

danieleades avatar Jul 08 '25 06:07 danieleades

The team is probably busy working on their enterprise product, so they probably don't pay attention to this repo.

This worked meanwhile: https://marketplace.visualstudio.com/items?itemName=kdheepak.d2-markdown-preview

carun avatar Aug 21 '25 20:08 carun