Formation JS, ajout slides suppl.
This commit is contained in:
@ -4,28 +4,55 @@
|
||||
<title>Cadoles - Formation Javascript</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<style type="text/css">
|
||||
@import url(http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);
|
||||
@import url(http://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic);
|
||||
@import url(http://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic);
|
||||
|
||||
body {
|
||||
font-family: 'Droid Sans';
|
||||
font-family: 'Droid Sans', 'Ubuntu Sans', 'sans-serif';
|
||||
}
|
||||
h1, h2, h3 {
|
||||
font-family: 'Caviar Dream', 'Droid Sans';
|
||||
font-family: 'Caviar Dream', 'Droid Sans', 'Ubuntu Sans', 'sans-serif';
|
||||
font-weight: normal;
|
||||
}
|
||||
.remark-code, .remark-inline-code { font-family: 'Ubuntu Mono'; }
|
||||
.remark-code, .remark-inline-code { font-family: 'Ubuntu Mono', monospace; }
|
||||
</style>
|
||||
<link href="../cadoles-theme.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<script src="../bower_components/remark/out/remark.js"></script>
|
||||
<script src="../cadoles-remark-macros.js"></script>
|
||||
<script type="text/javascript">
|
||||
|
||||
var slides = [
|
||||
'cover',
|
||||
'plan',
|
||||
'historique',
|
||||
'langage',
|
||||
'variables-1',
|
||||
'variables-2',
|
||||
'structures-1',
|
||||
'structures-2',
|
||||
'structures-3',
|
||||
'objets-1',
|
||||
'objets-2',
|
||||
'fonctions-1',
|
||||
'fonctions-2',
|
||||
'fonctions-3',
|
||||
'fonctions-4',
|
||||
'tableaux-1',
|
||||
'tableaux-2',
|
||||
'heritage-1'
|
||||
];
|
||||
|
||||
var slideshow = remark.create({
|
||||
sourceUrl: 'index.md'
|
||||
source: slides.map(fetchSlide).join('\n---\n'),
|
||||
highlightStyle: 'github',
|
||||
highlightLanguage: 'javascript'
|
||||
});
|
||||
|
||||
function fetchSlide(slideName) {
|
||||
var req = new XMLHttpRequest();
|
||||
req.open('GET', slideName+'.md', false);
|
||||
req.send();
|
||||
return req.responseText.replace(/\r\n/g, '\n');
|
||||
};
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user