akebifiky / remark-simple-plantuml

A simple plugin for remarkjs that converts PlantUML code written in Markdown to img tags.
MIT License
28 stars 7 forks source link

Embedd generated <svg> tag into the document which is useful for production builds #6

Open LogeshG5 opened 2 years ago

LogeshG5 commented 2 years ago

Can we have another option to embedd SVG directy into the document?

With Docusaurus when we generate a production build, we can request the server and get the SVG directly added to the document. Currently an image node is added with url pointing to configured PlantUML server.

This means we need the PlantUML server to be available only during the production build.