14
16

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Jupyterで好きなHTMLを埋め込む

Last updated at Posted at 2016-01-08

やり方

IPython.display.HTMLを使う。

Hello world!

from IPython.display import HTML
HTML("<h1>Hello world!</h1>")

その他

ローカルにある画像なんかも、base64エンコードしてimgタグのソースに文字列突っ込めば表示できます。

YouTubeの動画なんかも埋め込めます。 (nbviewerへ)
eb261656c601e6dc2cbe30468eb8f501.png

14
16
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
14
16

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?