We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 987f186 + bb7fe3f commit df80757Copy full SHA for df80757
CHANGES.txt
@@ -4,6 +4,8 @@ New in master
4
Features
5
--------
6
7
+* Use basic ipynb template by default for slightly better appearance
8
+ and behavior
9
* Fixing behavior of RSS_PATH to do what the documentation
10
says it does (Issue #3024)
11
* Add support for fragments in path handlers (Issue #3032)
nikola/plugins/compile/ipynb.py
@@ -59,6 +59,8 @@ def _compile_string(self, nb_json):
59
self._req_missing_ipynb()
60
c = Config(self.site.config['IPYNB_CONFIG'])
61
c.update(get_default_jupyter_config())
62
+ if 'template_file' not in self.site.config['IPYNB_CONFIG'].get('Exporter', {}):
63
+ c['Exporter']['template_file'] = 'basic.tpl' # not a typo
64
exportHtml = HTMLExporter(config=c)
65
body, _ = exportHtml.from_notebook_node(nb_json)
66
return body
0 commit comments