utilipy
utilipy.ipython
utilipy.ipython.
add_raw_code_toggle
Add a toggle for code cells when Notebook is exported to HTML.
HTML and Javascript button, placed directly below function execution cell.
References
code from Jo Bovy