Skip to content

Commit

Permalink
adding some slides using reveal.js-d3 with d3js animations and includ…
Browse files Browse the repository at this point in the history
…ed websites
  • Loading branch information
jeremyfix committed Jun 27, 2020
1 parent 91143ae commit 21201b7
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
[submodule "reveal-pdfexport"]
path = plugins/reveal-pdfexport
url = [email protected]:McShelby/reveal-pdfexport.git
[submodule "plugins/reveal.js-d3"]
path = plugins/reveal.js-d3
url = [email protected]:gcalmettes/reveal.js-d3.git
1 change: 1 addition & 0 deletions plugins/reveal.js-d3
Submodule reveal.js-d3 added at a89f82
15 changes: 15 additions & 0 deletions slides/myfirstslides.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,21 @@ And simply more regular full-width text in the following. But hey, there is also
</div>
</div>

## Embedding d3.js

Using the plugin [reveal.js-d3](https://github.com/gcalmettes/reveal.js-d3), we can embed d3.js animations

<div class="row no-margin-top">
<div class="fig-container" data-preload data-file="plugins/reveal.js-d3/demo/d3-fig/rainbow.html"></div>
</div>

## [reveal.js-d3] Including websites

Using the plugin [reveal.js-d3](https://github.com/gcalmettes/reveal.js-d3), we can embed websites

<div class="fig-container" data-file="https://teaching.pages.centralesupelec.fr/deeplearning-lectures-build/">
</div>

## Notes

You can add notes to a slide that are shown only in the speaker view (triggered by pressing the "S" key) or by showing them on every slide by setting the meta.yaml property
Expand Down
1 change: 1 addition & 0 deletions template.html
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ <h1 class="title">$title$</h1>
{ src: 'plugins/reveal.js-plugins/menu/menu.js', async: true },
{ src: 'plugins/reveal.js-plugins/chalkboard/chalkboard.js', async: false},
{ src: 'plugins/reveal.js-elapsed-time-bar/plugin/elapsed-time-bar/elapsed-time-bar.js'},
{ src: 'plugins/reveal.js-d3/reveald3.js'}
],

plugins: [
Expand Down

0 comments on commit 21201b7

Please sign in to comment.