Handle heading and raw types in ipynb format