Backend for course given in 2012 at the University of Lisbon.
- Slides example (day 2 of the course) - Code examples are interactive, try to modify and shift-enter.
- Poster - made in Inkscape
Get markdown files from Dropbox and/or Github and render them to HTML5 presentations with interactive Python code examples.
- Node.js
- Dust.js
- Deck.js
- Markdown
- CodeMirror2
- Skulpt
- Disable Deck.js scale
In: views/tmpl/base.dust
Replace:
$(function() {$ .deck('.slide'); With:$(function() {$ .deck('.slide'); $.deck('disableScale');}); - Disable all font color black (for syntax higlight) and :after :before none (optional) In: public/pkg/deck.js/deck.core.css Comment: @media print { * {}}
- Fix CodeMirror2 box size In: public/css/style.css AddTo: .deck-container .CodeMirror {} Line: font-size: 18pt !important;
- Implement everything in a print button
- Avoid using CSS transform, footer after, print only classes, etc in favor of something like @page { @top-left {content: element(footer)}}
- Disable Deck.js scale and resize CodeMirror2 font before print with button
© 2012 Bruno Vieira