Does anyone know a way to add cell numbers (not line numbers within cells)? I have been using nbextensions for a while but it does not seem to have the ability to label cell numbers.

  • $\begingroup$ do you want to change the cell number for aesthetic reasons? $\endgroup$ – Leevo Jan 22 '20 at 15:28
  • $\begingroup$ @Leevo I' like to be able to reference a cell, either to a colleague or in the narrative/descriptions. $\endgroup$ – Donum Feb 14 '20 at 2:55

If you need it for a presentation, open the Notebook with a text editor, find the brackets where cell numbers fall and change them manually. If it's something you have to do once.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.