Skip to content

Commit

Permalink
#291: Add terminal session to solution box, move terminal session fil…
Browse files Browse the repository at this point in the history
…e to fig directory
  • Loading branch information
ehogan committed Oct 25, 2023
1 parent 4ed1a04 commit 7bbb25d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions _includes/load_environment.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
<div id="demo"></div>
<script src="../assets/js/asciinema-player.min.js"></script>
<script>
<blockquote class="solution">
<h2 id="example-video">Example video</h2>

<div id="demo"></div>
<script src="../assets/js/asciinema-player.min.js"></script>
<script>
AsciinemaPlayer.create(
'../load_environment.cast',
'../fig/load_environment.cast',
document.getElementById('demo'), {
rows: 24,
cols: 110,
autoPlay: true,
autoPlay: false,
speed: 2,
fit: false,
terminalFontSize: "12px",
idleTimeLimit: 1,
loop: true,
});
</script>
</blockquote>
File renamed without changes.

0 comments on commit 7bbb25d

Please sign in to comment.