[IPython-User] embedding images in ipynb

MinRK benjaminrk@gmail....
Sat Jul 14 18:06:21 CDT 2012

On Sat, Jul 14, 2012 at 2:59 PM, John Hunter <jdh2358@gmail.com> wrote:
> Is it correct that I cannot embed images in a notebook using either markdown
> or html?

  For markdown, I've seen syntaxes like those here from
> http://daringfireball.net/projects/markdown/syntax/#img, eg :
>     ![Alt text](/path/to/img.jpg)
> or in html using the <img> tag.  I know I can do it in a code cell using
> IPython.display.Image, but when writing some narrative text in a markdown
> cell this feels unnatural.
> Note a big deal, just want to make sure I am not missing something obvious.

You can do both markdown-style and html-literal embedded images in
markdown cells just fine.  The 'local files' part of the notebook tour
gives an example of an image and video tag in markdown.  They are for
local URLs, but there's nothing special about local URLs.


> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user

More information about the IPython-User mailing list