Hakim El Hattab
12 years ago
4 changed files with 17 additions and 3 deletions
@ -1,3 +1,12 @@ |
|||
// START CUSTOM REVEAL.JS INTEGRATION
|
|||
[].slice.call( document.querySelectorAll( 'pre code' ) ).forEach( function( element ) { |
|||
element.addEventListener( 'focusout', function( event ) { |
|||
hljs.highlightBlock( event.currentTarget ); |
|||
}, false ); |
|||
} ); |
|||
// END CUSTOM REVEAL.JS INTEGRATION
|
|||
|
|||
|
|||
/* |
|||
Syntax highlighting with language autodetection. |
|||
http://softwaremaniacs.org/soft/highlight/
|
Loading…
Reference in new issue