Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Javscript to base display priority list. #5243

Merged
merged 7 commits into from Mar 1, 2014

Conversation

jdfreder
Copy link
Member

This effectively adds it to the HTML output since every other exporter explicitly overrides the display priority list.
closes #5225

@@ -25,7 +25,7 @@ class NbConvertBase(LoggingConfigurable):
Useful for display data priority that might be use by many transformers
"""

display_data_priority = List(['html', 'application/pdf', 'svg', 'latex', 'png', 'jpg', 'jpeg' , 'text'],
display_data_priority = List(['html', 'javascript', 'application/pdf', 'svg', 'latex', 'png', 'jpg', 'jpeg' , 'text'],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the live notebook, javascript comes first. Is this different on purpose?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No not at all, just lack of that knowledge. I'll go ahead and change it.

@ellisonbg
Copy link
Member

Pinging @jakevdp

ellisonbg added a commit that referenced this pull request Mar 1, 2014
Add Javscript to base display priority list.
@ellisonbg ellisonbg merged commit 8e33b80 into ipython:master Mar 1, 2014
@jdfreder jdfreder deleted the nbconvertjs branch March 10, 2014 18:43
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
Add Javscript to base display priority list.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add JavaScript to nbconvert HTML display priority
3 participants