Skip to content

Commit

Permalink
Remplacement de Impress.js par Reveal.js. Fix #6
Browse files Browse the repository at this point in the history
  • Loading branch information
seblucas committed Sep 4, 2016
1 parent 9037d78 commit 7074657
Show file tree
Hide file tree
Showing 5 changed files with 114 additions and 378 deletions.
15 changes: 5 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,16 @@

Cours en français pour les Master e-Services de l'université de Lille 1

# Comment générer la page web
# Comment utiliser la page web

Installer [mdpress](https://github.com/egonSchiele/mdpress)
A installer sur un serveur Web quelconque et lancer index.html.

```bash
rm -Rf odeva
rm -Rf odeva-classic
cp odeva.md odeva-classic.md
mdpress -s impress -i images odeva.md
mdpress -i images odeva-classic.md
cp odeva-style.css odeva/css/style.css
```
Testé avec Chrome, certaines pages sont invisibles avec Firefox.

# Sources

* [Reveal](https://github.com/hakimel/reveal.js)
* [Cloudflare CND](https://cdnjs.com/)
* [Wikipedia](http://fr.wikipedia.org/wiki/Wikip%C3%A9dia:Accueil_principal)
* [A Visual Guide to Version Control](http://betterexplained.com/articles/a-visual-guide-to-version-control/)
* [Intro to Distributed Version Control (Illustrated)](http://betterexplained.com/articles/intro-to-distributed-version-control-illustrated/)
Expand Down
31 changes: 31 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<html>
<head>
<link rel="stylesheet" href="css/reveal.css">
<link rel="stylesheet" href="css/theme/white.css">
</head>
<body>
<div class="reveal">
<div class="slides">
<section data-markdown="odeva.md" data-separator="^\n\n\n" data-separator-vertical="^\n\n"></section>
</div>
</div>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.3.0/css/reveal.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.3.0/css/theme/white.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.0.0/styles/agate.min.css">

<script src="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.3.0/lib/js/head.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.3.0/js/reveal.min.js"></script>
<script>
Reveal.initialize({
dependencies: [
// Interpret Markdown in <section> elements
{ src: 'https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.3.0/plugin/markdown/marked.min.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.3.0/plugin/markdown/markdown.min.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },

// Syntax highlight for <code> elements
{ src: 'https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.3.0/plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } }
]
});
</script>
</body>
</html>
219 changes: 0 additions & 219 deletions odeva-style.css

This file was deleted.

Loading

0 comments on commit 7074657

Please sign in to comment.