yWorks / svg2pdf.js

A javascript-only SVG to PDF conversion utility that runs in the browser. Brought to you by yWorks - the diagramming experts
MIT License
654 stars 100 forks source link

Create a simple online playground #136

Closed yGuy closed 4 years ago

yGuy commented 4 years ago

Often bug reports come with obscure descriptions of the problem, while in reality all it takes would be a tiny SVG snippet along with a description of the desired output.

We should provide a (github?) webpage that lets users paste their SVG and upon button press renders and optionally exports the SVG as PDF. We could let the page load the SVG from github gist snippets and together this would make for a perfect test-case. Reports would then be asked to kindly provide an URL to such a test-case or an SVG snippet that shows the problem.

Alternatively we could be using a simple codepen or similar. The advantage of using our site would be that we could always link it to the most recent svg2pdf release.