Skip to content

Commit

Permalink
deploy: 5bc461d
Browse files Browse the repository at this point in the history
  • Loading branch information
Nanguage committed Dec 28, 2023
1 parent 6d6a5a4 commit 7025b1a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
<script src="https://cdn.jsdelivr.net/npm/[email protected]/js/jquery.terminal.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/js/unix_formatting.min.js"></script>
<script src="https://lib.imjoy.io/imjoy-loader.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs/prism.js"></script>
<script src="https://cdn.jsdelivr.net/npm/jquery.terminal/js/prism.js"></script>
<script src="https://unpkg.com/[email protected]/components/prism-python.js"></script>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/css/jquery.terminal.min.css" rel="stylesheet" />
<link href="https://cdn.jsdelivr.net/npm/prismjs/themes/prism.css" rel="stylesheet" />
<!-- add icon -->
<link rel="icon" href="https://imjoy.io//static/icons/favicon-32x32.png" />
<!-- add title -->
Expand Down Expand Up @@ -591,6 +595,8 @@
}
term.resume();

$.terminal.syntax('python')

const showCode = toBool(urlParams.get("show_code"), true);
const code = urlParams.get("code");
if (code) {
Expand Down

0 comments on commit 7025b1a

Please sign in to comment.