Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kdheepak/d2-markdown-preview
d2 vscode markdown preview extension
https://github.com/kdheepak/d2-markdown-preview
Last synced: about 1 month ago
JSON representation
d2 vscode markdown preview extension
- Host: GitHub
- URL: https://github.com/kdheepak/d2-markdown-preview
- Owner: kdheepak
- License: mit
- Created: 2022-12-21T17:40:50.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-23T01:10:48.000Z (about 2 years ago)
- Last Synced: 2024-10-15T16:53:16.160Z (3 months ago)
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=kdheepak.d2-markdown-preview
- Size: 288 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# d2-markdown-preview README
This extension shows d2 markdown code blocks as svg.
![](https://user-images.githubusercontent.com/1813121/209040657-d4f7b5d4-6c70-4de1-81d3-7478e1b3b58a.png)
You can also set the layout and the theme in the codeblock using the following syntax:
````
```d2 layout=elk theme=101
x -> y
```
````![](https://user-images.githubusercontent.com/1813121/209160274-e4a94a4e-7b81-403b-824b-fbe692e95680.png)