%classpath add jar ../../../doc/resources/jar/loadMagicJarDemo.jar %load_magic com.twosigma.beakerx.custom.magic.command.ShowEnvsCustomMagicCommand %showEnvs com.twosigma.beakerx.kernel.Kernel.showNullExecutionResult com.twosigma.beakerx.kernel.Kernel.showNullExecutionResult = true; String seeNullString = null; seeNullString com.twosigma.beakerx.kernel.Kernel.showNullExecutionResult = false; String noNullString = null; noNullString import jupyter.Displayer; import jupyter.Displayers; Displayers.register(Integer.class, new Displayer() { @Override public Map display(Integer value) { return new HashMap() {{ put(MIMEContainer.MIME.TEXT_HTML, "

" + value + "

"); }}; } }); 1+1