-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Open
Labels
enhancementstatus:Needs Infostatus:Needs TriageApplied to issues that need triageApplied to issues that need triage
Description
Problem
Must use cmd to export HTML without code, I want to export on the web.
I solve it by using this code in the first cell in old version:
from IPython.display import display
from IPython.display import HTML
import IPython.core.display as di
di.display_html('<script>jQuery(function() {if (jQuery("body.notebook_app").length == 0) { jQuery(".input_area").toggle(); jQuery(".prompt").toggle();}});</script>', raw=True)
CSS = """#notebook div.output_subarea {max-width:100%;}""" #changes output_subarea width to 100% (from 100% - 14ex)
HTML('<style>{}</style>'.format(CSS))
Metadata
Metadata
Assignees
Labels
enhancementstatus:Needs Infostatus:Needs TriageApplied to issues that need triageApplied to issues that need triage