Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F63036549
slides_config.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, May 17, 08:24
Size
564 B
Mime Type
text/x-python
Expires
Sun, May 19, 08:24 (2 d)
Engine
blob
Format
Raw Data
Handle
17723787
Attached To
R3683 Slides
slides_config.py
View Options
from
__future__
import
print_function
import
os
import
sys
dirname
=
os
.
path
.
dirname
(
__file__
)
print
(
dirname
)
sys
.
path
.
append
(
dirname
)
c
=
get_config
()
c
.
Exporter
.
template_file
=
'presentation.tpl'
print
(
c
.
Exporter
.
__dict__
)
#c.Exporter.template_file = 'mybasic.tpl'
c
.
Exporter
.
template_path
.
append
(
os
.
path
.
join
(
dirname
,
'templates'
))
#c.Exporter.preprocessors = ['execute_markdown.ExecutePreprocessor','pre_pymarkdown.PyMarkdownPreprocessor']
c
.
Exporter
.
preprocessors
=
[
'jupyter_contrib_nbextensions.nbconvert_support.pre_pymarkdown.PyMarkdownPreprocessor'
]
Event Timeline
Log In to Comment