2.0.0 • Published 4 years ago

reveal.js-run-in-browser v2.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Run In Browser

npm


A plugin for Reveal.js, that allows to execute js code right in browser

It works for structure like this:

<pre><code>
    Here is the code
</code></pre>

then install the plugin and it will work automatically.

Installation

npm installation

This plugin is published to, and can be installed from, npm.

npm install reveal.js-run-in-browser

The plugin folder can then be referenced from node_modules/reveal.js-run-in-browser/dist/revealjs-run-in-browser

Setup

JavaScript

<script src="dist/reveal.js" />
<script src="node_modules/reveal.js-run-in-browser/dist/revealjs-run-in-browser" />
<script>
  Reveal.initialize({
    // ...
    plugins: [RunInBrowser],
  });
</script>
2.0.0

4 years ago

1.4.0

4 years ago

1.3.0

4 years ago

1.2.1

4 years ago

1.1.1

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago