Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>d2-markdown-previewNew to Visual Studio Code? Get it now.
d2-markdown-preview

d2-markdown-preview

kdheepak

|
2,567 installs
| (0) | Free
Add d2 markdown preview to VSCode builtin markdown preview
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

d2-markdown-preview README

This extension shows d2 markdown code blocks as svg.

You can also set the layout and the theme in the codeblock using the following syntax:

```d2 layout=elk theme=101
x -> y
```

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft