You can put math and HTML into notebooks directly with markdown cells. BeakerX also has an API for generation and display of multimedia content.
Latex('$\\alpha + \\eta$')
HTML('<h1>Hello, world!</h1>')
new MIMEContainer('text/html', '<h2> Hello, world!</h2>')
new MIMEContainer(MIMEContainer.MIME.TEXT_HTML, '<h3> Hello, world!</h3>')
new MIMEContainer('text/latex', '$\\alpha + \\eta$')
FileLinks("../groovy")
FileLink("GroovyTest.ipynb")
Markdown("It's very easy to do **bold** and *italics*:")
Math('F(k) = \\int f(x) {2e\\pi i k} dx')
IFrame('http://jupyter.org/', '100%', 400)
ScribdDocument("71048089", width: '50%', height: 400, start_page: 5, view_mode: 'slideshow')
VimeoVideo("139304565", width: 400, height: 300)
YoutubeVideo("gSVvxOchT8Y")
Video('https://archive.org/download/Sita_Sings_the_Blues/Sita_Sings_the_Blues_small.mp4')
SVG("https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/car.svg")
SVG("../../../doc/resources/img/atom.svg")
Image("https://doggydollars.com/wp-content/uploads/2016/02/DoggyDollars-Retriever-300x300.jpg")
Image("../../../doc/resources/img/widgetArch.png")