##// END OF EJS Templates
allow splitting and merging of heading cells...
allow splitting and merging of heading cells I consider it a bug that you couldn't merge with heading cells, and that you couldn't split them, either. (So much so that I thought it was a bug in ipython-vimception when I ran into it). This change removes that limitation, so heading cells are on par with the other cells in terms of the kinds of manipulations one can carry out with them.

File last commit:

r12249:4563b2ee
r17417:811c7332
Show More
base.py
35 lines | 1.0 KiB | text/x-python | PythonLexer
Jonathan Frederic
Moved PDF logic into Post-Processor class
r11747 """
Basic post processor
"""
#-----------------------------------------------------------------------------
#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
#-----------------------------------------------------------------------------
from ..utils.base import NbConvertBase
#-----------------------------------------------------------------------------
# Classes
#-----------------------------------------------------------------------------
class PostProcessorBase(NbConvertBase):
def __call__(self, input):
"""
Paul Ivanov
rename call methods to transform and postprocess...
r12218 See def postprocess() ...
Jonathan Frederic
Moved PDF logic into Post-Processor class
r11747 """
Paul Ivanov
rename call methods to transform and postprocess...
r12218 self.postprocess(input)
Jonathan Frederic
Moved PDF logic into Post-Processor class
r11747
Paul Ivanov
rename call methods to transform and postprocess...
r12218 def postprocess(self, input):
Jonathan Frederic
Moved PDF logic into Post-Processor class
r11747 """
Post-process output from a writer.
"""
Paul Ivanov
rename call methods to transform and postprocess...
r12218 raise NotImplementedError('postprocess')