show-docs / remark-kroki

Kroki plugin of remark
MIT License
23 stars 1 forks source link

How does this work? #2

Closed Zenahr closed 1 year ago

Zenahr commented 1 year ago

The way I understand Kroki, it generates an image and serves it via HTTP. Does this extension generate static files when used with Docusaurus? E.g., when building the site?

Airkro commented 1 year ago

Generating static files will make many things out of control, this plugin will convert the image into a base64 string to become a part of markdown. It's simple and compatible with many tools.