Skip to content

SVG does not render #3

Description

@dAnjou

Hi,

I'd like to browse Markdown files with SVGs in them. Unfortunately they are not rendered:

Image

This is the file:

`![](/tmp/sample_from_wikipedia.svg)`:

![](/tmp/sample_from_wikipedia.svg)

- OS: Fedora Linux 44 (Xfce) x86_64
- DE: Xfce4 4.20
- WM: Xfwm4 (X11)
- Terminal: kitty 0.47.1
- Shell: bash 5.3.9
- OpenGL: 3.3 (Compatibility Profile) Mesa 26.1.4

This is the SVG:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" version="1.1"
     width="120" height="120">
  <rect x="14" y="23" width="200" height="50" fill="lime"
      stroke="black" />
</svg>

Kitty itself is capable of rendering it:

Image

ink 0.2.1

Thanks 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions