a Terminal / Command line simulation for deck.js
JavaScript CSS
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
deck.js @ e42bd0c
.gitignore
.gitmodules
deck.terminal.css
deck.terminal.js
readme.md
terminaltest.html

readme.md

Terminal / Command line - Simulation for deck.js

This is a module for the HTML Presentation framework deck.js ( https://github.com/imakewebthings/deck.js/wiki ).

You can use it to simulate you typing into a terminal and seeing the results in your presentation. You specify the input and output for each Terminal command and it will show the input as it was typed and the output shortly after.

Example syntax:

	<section class="slide">
	<div id="showTerminal" class="slide">
		<pre id="input">
		ls -la
		</pre>
		<pre id="output" >total 296
		-rw-r--r--  1 jolly  wheel  15090  3 Oct 21:27 GPL-license.txt
		-rw-r--r--  1 jolly  wheel   1095  3 Oct 21:27 MIT-license.txt
		</pre>
	</div>
	</section>

Install it by copying it into the deck.js extensions folder and reference it in your presentation like this:

<script src="deckjspath/extensions/terminal/deck.terminal.js"></script>