Add the html.js file to the package/build/ext/ directory, and update config.js as shown.
First run the following in your notebook:
%load_ext html
Then, at the start of any block in which you will output html, place this:
%%html
// your code here, object to display on final line as usual
And here's a full example, rendering a simple
reactcomponent:(don't forget to
npm install react && npm install react-domfrom notebook folder first)