Include an SVG (hosted on GitHub) in MarkDown

后端 未结 8 1756
执笔经年
执笔经年 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:18

    rawgit.com solves this problem nicely. For each request, it retrieves the appropriate document from GitHub and, crucially, serves it with the correct Content-Type header.

提交回复
热议问题