Example for testing SVG usage within .astro, .md and .mdx
This highlights incompatibility of inlined SVG when injected from remark/rehype plugins in an mdx file
- attributes with ':' e.g.
xmlns:xlinkgets treated as .jsx and converted toxmlnsXlink,xmlnsorxmlnsxlink, all of which break the SVG rendering
Note :
- html comments not supported
- html empty new lines of spaces also break the html parsing as indentation takes precendence