pomdtr / vscode-markdown-kroki

Adds Kroki support to VS Code's builtin markdown preview
https://marketplace.visualstudio.com/items?itemName=pomdtr.markdown-kroki
MIT License
21 stars 7 forks source link

Add DBML & D2 support #2

Closed bobzomer closed 1 year ago

bobzomer commented 1 year ago

Since https://github.com/yuzutech/kroki/pull/1432, kroki (either from kroki.io or from up-to-date self-hosted instance) can convert DBML diagrams (see https://www.dbml.org/home/) to SVG using dbml-renderer (https://github.com/softwaretechnik-berlin/dbml-renderer).

This pull request only aims at forwarding this new support.

bobzomer commented 1 year ago

Updated to also include D2 diagrams (https://d2lang.com/tour/intro/) since the same kroki release added both.

svenruegg commented 1 year ago

Would need this as well -> dbml. @pomdtr please merge to make it available inside the extension.

Thanks

pomdtr commented 1 year ago

I did not saw the notification, merging it :)

thanks @bobzomer and @svenruegg

svenruegg commented 1 year ago

@pomdtr nice thanks! Can you force an new version update of the Extension to the VS Marketplace?

pomdtr commented 1 year ago

I tried it, but the validation did fail. I'll fix it when I'll be back home. Expect a release tomorrow, ping me if I forget !

svenruegg commented 1 year ago

Oh. All good, tomorrow sounds great. Thanks