jupyter-notebook: add css class to output cell

Viewed 2926

Is it possible to add a class to the output cell using cell magic? For example:

In [1]: %%css-class highlight
        display(pd.DataFrame(np.random.rand(3,4)))

and then the the cell Out [1] will have the class "highlight" so that I can change the format using css.

1 Answers
Related