ipython notebook nbconvert - how to remove red 'out[N]' text in top left hand corner of cell output?

前端 未结 2 1655
伪装坚强ぢ
伪装坚强ぢ 2020-12-10 16:48

I am using nbconvert to produce something as close as possible to a polished journal article.

I have successfully hidden input code using a custom nbconvert templat

2条回答
  •  执念已碎
    2020-12-10 17:33

    %%HTML

    This will hide both In and Out prompts

    Note that this is only in your browser, the notebook itself isn't modified of course, and nbconvert will work just the same as before.

    In case you want this in the nbconverted code as well, just put the in a Raw NBConvert cell.

提交回复
热议问题