From 7780f6ef6cd2f48001204aec54086a0f5df9fa57 2013-09-04 23:40:27 From: MinRK Date: 2013-09-04 23:40:27 Subject: [PATCH] use local reveal.js url prefix by default CDN redirect is handled by the Serve post-processor if necessary --- diff --git a/IPython/nbconvert/preprocessors/revealhelp.py b/IPython/nbconvert/preprocessors/revealhelp.py index 413ab5c..d9e213f 100755 --- a/IPython/nbconvert/preprocessors/revealhelp.py +++ b/IPython/nbconvert/preprocessors/revealhelp.py @@ -24,12 +24,12 @@ from IPython.utils.traitlets import Unicode, Bool class RevealHelpPreprocessor(Preprocessor): - url_prefix = Unicode('https://cdn.jsdelivr.net/reveal.js/2.4.0', config=True, + url_prefix = Unicode('reveal.js', config=True, help="""The URL prefix for reveal.js. This can be a a relative URL for a local copy of reveal.js, or point to a CDN. - For speaker notes to work, a local reveal.js must be used. + For speaker notes to work, a local reveal.js prefix must be used. """ )