##// END OF EJS Templates
make inkscape command configurable...
make inkscape command configurable and fix b64 treatment of PDFs

File last commit:

r11108:1a1aafcf
r11571:93f89316
Show More
fullhtml.py
39 lines | 1.2 KiB | text/x-python | PythonLexer
Jonathan Frederic
Cleanup and refactor of API, almost complete....
r10677 """
Exporter for exporting full HTML documents.
Jonathan Frederic
Made exporter names match template names.
r10639 """
#-----------------------------------------------------------------------------
# Copyright (c) 2013, the IPython Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------
Jonathan Frederic
Cleanup and refactor of API, almost complete....
r10677 from IPython.utils.traitlets import Unicode
MinRK
fix HTML capitalization in exporter classes
r11108 from .basichtml import BasicHTMLExporter
damianavila
Fixing css register for full_html exporter.
r10964 from IPython.config import Config
Jonathan Frederic
Made exporter names match template names.
r10639 #-----------------------------------------------------------------------------
# Classes
#-----------------------------------------------------------------------------
MinRK
fix HTML capitalization in exporter classes
r11108 class FullHTMLExporter(BasicHTMLExporter):
Jonathan Frederic
Cleanup and refactor of API, almost complete....
r10677 """
Exports a full HTML document.
"""
damianavila
Fixing css register for full_html exporter.
r10964
Jonathan Frederic
Made exporter names match template names.
r10639 template_file = Unicode(
'fullhtml', config=True,
damianavila
Fixing css register for full_html exporter.
r10964 help="Name of the template file to use")
@property
def default_config(self):
MinRK
fix HTML capitalization in exporter classes
r11108 c = Config({'CSSHTMLHeaderTransformer':{'enabled':True}})
c.merge(super(FullHTMLExporter,self).default_config)
Matthias BUSSONNIER
remove method calling only super
r10967 return c