title: Not Able to Update Syntax in Prism.js With JavaScript keyup in Input Element
body: <p>Can you please take a look at this code and let me know why I am not able to update syntax in Prism? I wan t to add value from <code>#column</code> to <code>#column-out</code> inside the <code>&lt;pre&gt;&lt;code class=&quot;language-python&quot;&gt;&lt;/pre&gt;&lt;/code&gt;</code></p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$("#column").keyup(function(e) {
     var str = $(this).val();
     $('#column-out').text(str);
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.28.0/themes/prism-tomorrow.min.css" integrity="sha512-vswe+cgvic/XBoF1OcM/TeJ2FW0OofqAVdCZiEYkd6dwGXthvkSFWOoGGJgS2CW70VK5dQM5Oh+7ne47s74VTg==" crossorigin="anonymous" referrerpolicy="no-referrer"
  /&gt;
  &lt;script src="https://code.jquery.com/jquery-3.1.0.js"&gt;&lt;/script&gt;
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.28.0/prism.min.js" integrity="sha512-RDQSW3KoqJMiX0L/UBgwBmH1EmRYp8LBOiLaA8rBHIy+7OGP/7Gxg8vbt8wG4ZYd29P0Fnoq6+LOytCqx3cyoQ==" crossorigin="anonymous" referrerpolicy="no-referrer"&gt;&lt;/script&gt;
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.28.0/components/prism-python.min.js" integrity="sha512-AKaNmg8COK0zEbjTdMHJAPJ0z6VeNqvRvH4/d5M4sHJbQQUToMBtodq4HaV4fa+WV2UTfoperElm66c9/8cKmQ==" crossorigin="anonymous" referrerpolicy="no-referrer"&gt;&lt;/script&gt;
  
  &lt;div class="input-group mb-3"&gt;
    &lt;span class="input-group-text" id="basic-addon1"&gt;Column(s)&lt;/span&gt;
    &lt;input type="text" class="form-control" placeholder="Column(s)" id="column" aria-label="Columns" aria-describedby="basic-addon1"&gt;
  &lt;/div&gt;
  &lt;pre&gt;&lt;code class="language-python"&gt;import pandas as &lt;span id="column-out"&gt;&lt;/span&gt;
  &lt;/code&gt;&lt;/pre&gt;</code></pre>
  </div>
  </div>
  </p>