first commit

This commit is contained in:
Ayxan
2022-05-23 00:16:32 +04:00
commit d660f2a4ca
24786 changed files with 4428337 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
"""
Module that define a custom exporter just to test the ability to invoke
nbconvert with full qualified name
"""
from traitlets import default
from nbconvert.exporters.html import HTMLExporter
class MyExporter(HTMLExporter):
"""
My custom exporter
"""
@default("file_extension")
def _file_extension_default(self):
"""
The new file extension is `.test_ext`
"""
return ".test_ext"
@default("template_extension")
def _template_extension_default(self):
return ".html.j2"