visual-studio-codejupyter-notebookipynb

Is there a way to select rendered markdown text in a Jupyter Notebook markdown cell in VS Code?


I am using VS Code on my Macbook to run an .ipynb file. It seems that the rendered markdown texts in the markdown cells can not be "selected" by drawing the mouse cursor across them. They can only be selected in the editable/un-rendered mode. Is there a way to be able to select the markdown texts in the rendered mode? I can select the rendered markdown texts in Google colab and jupyter lab, but just not in VS Code.


Solution

  • I found the solution myself by trying out different VS Code settings. Go to "Customize notebook layout" --> and then disable the setting: "Notebook: Drag and Drop Enabled". Then you can select the text in rendered markdown cells. You can move cells up/down by other means.