##// END OF EJS Templates
semantic names for indicator icons...
semantic names for indicator icons For all of the discussion that we had about what kind of icons should and should not be used to indicate what mode the notebook is in, we never went through to make it possible to override it. With this change, it is now possible to override what icons are displayed for Command and Edit Modes. For example, @minrk liked the fighter-jet icon for Command Mode, so he can put this in his custom.css .ipython-command-mode:before { content: "\f0fb"; }

File last commit:

r12249:4563b2ee
r15806:6b3b303a
Show More
base.py
35 lines | 1.0 KiB | text/x-python | PythonLexer
"""
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):
"""
See def postprocess() ...
"""
self.postprocess(input)
def postprocess(self, input):
"""
Post-process output from a writer.
"""
raise NotImplementedError('postprocess')