add to on one of the pages explaining cocalc's jupyter notebook, how to enable line numbering per code cell. The setting is: account → editor → Jupyter line numbers: show line numbers in Jupyter notebooks
Activity