Jupyter, change prompt colors

jupyter

#1

Is there a way to change the prompt color dynamically in Jupyter? This is to give a visual indication of an input mode. Another way to indicate this might also work, e.g. changing the prompt text.

It appears that neither of these is mentioned in the IJulia module.

(Maybe a Jupyter tag or category or s.t. would be useful. Or more broadly UI, or …)


#2
macro javascript_str(s) display("text/javascript", s) end

javascript"""
$("div.input_prompt").css({"color": "cyan"})
"""

#3

Thanks. It looks like this will work.