| ▲ | jihchi 6 hours ago | |||||||||||||||||||||||||
This is cool! One use case is generating a Mermaid diagram as an image. For example, you can use the following HTML[^1]:
Then html2png.dev will serve you:
[^1]: https://mermaid.js.org/config/usage.html#simple-full-example | ||||||||||||||||||||||||||
| ▲ | JimDabell 6 hours ago | parent [-] | |||||||||||||||||||||||||
Why wouldn’t you just use Mermaid to generate the PNG directly? | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||