Include an SVG (hosted on GitHub) in MarkDown

后端 未结 8 1651
执笔经年
执笔经年 2020-12-07 07:49

I know with that an image can be placed in a MD with the MD syntax of either ![Alt text](/path/to/img.jpg) or ![Alt text](/path/to/img.jpg "Optional

8条回答
  •  有刺的猬
    2020-12-07 08:35

    I contacted GitHub to say that github.io-hosted SVGs are no longer displayed in GitHub READMEs. I received this reply:

    We have had to disable svg image rendering on GitHub.com due to potential cross site scripting vulnerabilities.

提交回复
热议问题