7 ms·
I love SVG! Recently I needed to render markdown in SVG and found no library existed for that yet so I released one: github: https://github.com/davefowler/mar
by thingsilearned 9mo ago
I love SVG! Recently I needed to render markdown in SVG and found no library existed for that yet so I released one:
github: https://github.com/davefowler/markdown-svg https://github.com/davefowler/markdown-svg
playground: https://markdown-svg-production.up.railway.app https://markdown-svg-production.up.railway.app
- notpushkin 9mo agoI assume the goal is to get rid of all foreignObject uses eventually? (Otherwise it would be easier yo render one big foreignObject and convert everything to HTML) Anyways, impressive, but what I’d really love to see is flexbox for SVG ;)
- thingsilearned 9mo agoYeah, my use case would have required a heavy node or playwright import to convert the SVGs to other formats or show them correctly outside of browsers. This keeps it all SVG and it looks and feels good and lighter.