Skip to content

Conversation

@milahu
Copy link

@milahu milahu commented Apr 12, 2021

another useful transformer

input

<svg src="example.svg" width="400" />

output

<svg
  xmlns="http://www.w3.org/2000/svg"
  viewBox="0 0 150 30"
  width="400"
  data-srcpath="./example.svg"
>
<text x="5" y="20">hello from SVG</text>
</svg>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant