On 26 September 2017 at 23:59, oscar6echo <[email protected]>
wrote:

> If, like me, you want to display contents side by side to get a more
> compact output, check out this package:
> *display_flex <https://gitlab.com/oscar6echo/display-flex>*
> As the name suggests the layout is transparently CSS Flexbox.
>
> Questions:
> - I have seen that when a notebook/cell is untrusted the manual css is
> ignored. I through only javascript was deemed potentially dangerous. Does
> anybody know for sure ?
>

Yes, it is (or should be) ignored. I believe that clever CSS could hide a
malicious code cell or disguise it as an innocent one, in order to trick a
user into running something they wouldn't want to. So we can't apply
untrusted CSS, unfortunately.


>
> - Will this work in jupyterlab too ?
>

Not sure, but I'd guess so.


>
> - Is there a specific reason why such a convenient and simple feature is
> not in the notebook yet ? Any plan for jupyterlab ?
>

Mostly I think it's just that it hasn't been done yet! But it might also be
that it doesn't generalise well to formats other than HTML. Our display
machinery mostly tries to emphasise things that are somewhat
format-agnostic.

Thomas

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAOvn4qgCxc8GBwNeHo%2B0j9%3DzEthAHO4_iu1kK%2BvezeOaGu7BFg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to