Inserting image into IPython notebook markdown

后端 未结 13 1618
面向向阳花
面向向阳花 2020-12-07 06:51

I am starting to depend heavily on the IPython notebook app to develop and document algorithms. It is awesome; but there is something that seems like it should be possible,

13条回答
  •  长情又很酷
    2020-12-07 07:26

    For those looking where to place the image file on the Jupyter machine so that it could be shown from the local file system.

    I put my mypic.png into

    /root/Images/mypic.png
    

    (that is the Images folder that shows up in the Jupyter online file browser)

    In that case I need to put the following line into the Markdown cell to make my pic showing in the notepad:

    ![My Title](Images/mypic.png)
    

提交回复
热议问题