Open lbwa opened 6 years ago
https:rawgit.com
代码
![http-bw][http-bw] [http-bw]:https://rawgit.com/lbwa/lbwa.github.io/dev/source/images/post/http-protocol/http-bw.svg
https://rawgithub.com
![http-bw][http-bw] [http-bw]:https://rawgithub.com/lbwa/lbwa.github.io/dev/source/images/post/http-protocol/http-bw.svg
https:raw.github.com 的 URL 结尾处添加 ?sanitize=true
https:raw.github.com
?sanitize=true
![http-bw][http-bw] [http-bw]:https://raw.github.com/lbwa/lbwa.github.io/dev/source/images/post/http-protocol/http-bw.svg?sanitize=true
markdown
svg
+ | +---+file-name | | | +---+ some.md | | + +---+ target.svg
![http-bw](./target.svg)
注:只对存储 host 路径为 https://github.com 的 svg 有效。
https://github.com
https://<username>.github.io
将 svg 链接地址 host 修改在 github.io 名下,默认为 master 分支。
github.io
master
![http-bw][http-bw] [http-bw]:https://lbwa.github.io/images/post/http-protocol/http-bw.svg
stackoverflow
github repo
方法一
https:rawgit.com
代码
方法二
https://rawgithub.com
代码
方法三
https:raw.github.com
的 URL 结尾处添加?sanitize=true
代码
方法四
markdown
文件为起点使用相对位置链接svg
代码
注:只对存储 host 路径为
https://github.com
的svg
有效。方法五
https://<username>.github.io
将
svg
链接地址 host 修改在github.io
名下,默认为master
分支。reference
stackoverflow
github repo