thanks for trying out the ROOT kernel!
You are using the master or a 6.07 development release aren’t you? There was a major upgrade of the Jupyter integration between 6.06 and 6.07. Among the many changes, the ROOT Kernel was introduced which is based on metakernel (root.cern.ch/doc/master/release … ntegration)
The correct syntax will be for 6.07 onwards:
%%cpp -a
like a “standard magic”.
It is our objective to move all the documentation to the new syntax before the release of 6.08.