r-lib / marquee

Markdown Parser and Renderer for R Graphics
https://marquee.r-lib.org
Other
85 stars 1 forks source link

Support svglite #10

Open thomasp85 opened 6 months ago

thomasp85 commented 6 months ago

The glyph interface in the graphics engine is quite at odds with the core idea behind svglite, which is post processing flexibility. svglite cannot support this graphics engine feature while also promising an editable output.

My best idea now is to render to HTML if svglite is detected, and then pass that to the device with some marker Unicode in front of the string. svglite could then include the whole string inside a <foreignObject> tag

nr0cinu commented 2 months ago

svglite support would be much appreciated! :)