Is there a way to add a gif to a Markdown file?

后端 未结 9 1477
小蘑菇
小蘑菇 2021-01-29 17:43

I want to add this gif to a GitHub flavored markdown file. If it can\'t be done in GitHub, is it possible to do it in another version of markdown?

9条回答
  •  面向向阳花
    2021-01-29 18:44

    in addition to all answers above:

    if you want to use a gif for your github repository README.md and don't want to address it from your root directory, it's not enough if you just copy the url of your browser, for example your browser URL is sth like:

    https://github.com/ashkan-nasirzadeh/simpleShell/blob/master/README%20assets/shell-gif.gif

    but you should open your gif in your github account and right click on it and click copy image address or sth like that which is sth like this:

    https://github.com/ashkan-nasirzadeh/simpleShell/blob/master/README%20assets/shell-gif.gif?raw=true

提交回复
热议问题