##// END OF EJS Templates
Merge pull request #7106 from damontallen/master...
Matthias Bussonnier -
r19483:acb3b575 merge
parent child Browse files
Show More
@@ -1,29 +1,29 b''
1 1 """Global configuration class."""
2 2
3 3 # Copyright (c) IPython Development Team.
4 4 # Distributed under the terms of the Modified BSD License.
5 5
6 6 from IPython.utils.traitlets import List
7 7 from IPython.config.configurable import LoggingConfigurable
8 8 from IPython.utils.traitlets import Unicode
9 9
10 10 class NbConvertBase(LoggingConfigurable):
11 11 """Global configurable class for shared config
12 12
13 13 Useful for display data priority that might be use by many transformers
14 14 """
15 15
16 display_data_priority = List(['text/html', 'application/pdf', 'image/svg+xml', 'text/latex', 'image/png', 'image/jpeg', 'text/plain'],
16 display_data_priority = List(['text/html', 'application/pdf', 'text/latex', 'image/svg+xml', 'image/png', 'image/jpeg', 'text/plain'],
17 17 config=True,
18 18 help= """
19 19 An ordered list of preferred output type, the first
20 20 encountered will usually be used when converting discarding
21 21 the others.
22 22 """
23 23 )
24 24
25 25 default_language = Unicode('ipython', config=True,
26 26 help='DEPRECATED default highlight language, please use language_info metadata instead')
27 27
28 28 def __init__(self, **kw):
29 29 super(NbConvertBase, self).__init__(**kw)
General Comments 0
You need to be logged in to leave comments. Login now