<html lang="en"> <head> <title>Untitled</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <link href="https://unpkg.com/@stencila/thema@2/dist/themes/stencila/styles.css" rel="stylesheet"> <script src="https://unpkg.com/@stencila/thema@2/dist/themes/stencila/index.js" type="text/javascript"></script> <script src="https://unpkg.com/@stencila/components@<=1/dist/stencila-components/stencila-components.esm.js" type="module"></script> <script src="https://unpkg.com/@stencila/components@<=1/dist/stencila-components/stencila-components.js" type="text/javascript" nomodule=""></script> </head> <body> <main role="main"> <article itemscope="" itemtype="http://schema.org/Article" data-itemscope="root"> <meta itemprop="image" content="https://via.placeholder.com/1200x714/dbdbdb/4a4a4a.png?text="><span itemscope="" itemtype="http://schema.org/Organization" itemprop="publisher"> <meta itemprop="name" content="Unknown"><span itemscope="" itemtype="http://schema.org/ImageObject" itemprop="logo"> <meta itemprop="url" content="https://via.placeholder.com/600x60/dbdbdb/4a4a4a.png?text=Unknown"> </span> </span> <figure itemscope="" itemtype="http://schema.stenci.la/Figure" id="o7USL5rozjjw"> <stencila-code-chunk itemscope="" itemtype="http://schema.stenci.la/CodeChunk" data-colab="[object Object]" data-outputid="99eabf29-1d8c-44a7-813d-707756a153e3" data-execution_count="3" data-programminglanguage="python"> <pre class="language-python" itemscope="" itemtype="http://schema.stenci.la/CodeBlock" slot="text"><code>from IPython.core.display import display, HTML display(HTML("""<h1>Hello, world!</h1> <div id="hello"> woo</div> <script> document.getElementById('hello').innerHTML="aaa" </script> """))</code></pre> <figure slot="outputs"><span itemscope="" itemtype="http://schema.stenci.la/Array">[{depth:1,content:['Hello, world!'],type:'Heading'},'woo']</span></figure> </stencila-code-chunk> </figure> <figure itemscope="" itemtype="http://schema.stenci.la/Figure" id="rnckS4cxzu2e"> <stencila-code-chunk itemscope="" itemtype="http://schema.stenci.la/CodeChunk" data-execution_count="null" data-programminglanguage="python"> <pre class="language-python" itemscope="" itemtype="http://schema.stenci.la/CodeBlock" slot="text"><code></code></pre> </stencila-code-chunk> </figure> </article> </main> </body> </html>