Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Extension] Add D2 Diagram Rendering Support for Hexo Blogs #255

Closed
leverimmy opened this issue Feb 9, 2025 · 0 comments · Fixed by #256
Closed

[Extension] Add D2 Diagram Rendering Support for Hexo Blogs #255

leverimmy opened this issue Feb 9, 2025 · 0 comments · Fixed by #256

Comments

@leverimmy
Copy link
Contributor

Recently, I integrated D2 into my Hexo blog and developed a custom plugin for it. Now, you can use the following syntax in your blog posts to render D2 diagrams:

```d2
// Your D2 diagram code here
```

The plugin processes the d2 code block and renders it as a diagram in your blog. This allows seamless integration of D2 diagrams into Hexo without manual setup.

Let me know if you have suggestions for improvement or ideas to enhance the functionality further!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant