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

added --isolated option for %%html magic #10962

Merged
merged 1 commit into from
Jan 3, 2018
Merged

added --isolated option for %%html magic #10962

merged 1 commit into from
Jan 3, 2018

Conversation

sjdv1982
Copy link
Contributor

@sjdv1982 sjdv1982 commented Dec 23, 2017

@Carreau Carreau added this to the 6.3 milestone Jan 3, 2018
@Carreau
Copy link
Member

Carreau commented Jan 3, 2018

Seem reasonable to me. Thanks !

@Carreau Carreau merged commit 8d76998 into ipython:master Jan 3, 2018
args = magic_arguments.parse_argstring(self.html, line)
html = HTML(cell)
if args.isolated:
display(html, metadata={'text/html':{'isolated':True}})
Copy link
Member

Choose a reason for hiding this comment

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

We should make note of this metadata in http://jupyter.readthedocs.io/en/latest/reference/mimetype.html or wherever seems like a good choice. /cc @willingc

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.

3 participants